Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 318 Bytes
use ExtUtils::MakeMaker;
use YAML::Any qw(LoadFile);
my $file = "addons/ThemeExport.plugin/config.yaml";
my $version = LoadFile($file)->{version} ||
die "No version found in $file";
WriteMakefile(
NAME => 'Theme Exporter',
VERSION => $version,
DISTNAME => 'ThemeExport',
);