From: Matt S Trout Date: Mon, 28 Apr 2008 16:27:18 +0000 (+0000) Subject: convert to Module::Install X-Git-Tag: 0_08~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=37befc6268700cc20e91f98884d21e646b45751c;p=gitmo%2FMoose-Autobox.git convert to Module::Install --- diff --git a/Build.PL b/Build.PL deleted file mode 100644 index 295bb45..0000000 --- a/Build.PL +++ /dev/null @@ -1,27 +0,0 @@ -use Module::Build; - -use strict; - -my $build = Module::Build->new( - module_name => 'Moose::Autobox', - license => 'perl', - requires => { - 'autobox' => '1.22', - 'Moose' => '0.34', - 'Perl6::Junction' => '1.10', - }, - optional => { - }, - build_requires => { - 'Test::More' => '0.62', - 'Test::Exception' => '0.21', - }, - create_makefile_pl => 'traditional', - recursive_test_files => 1, - add_to_cleanup => [ - 'META.yml', '*.bak', '*.gz', 'Makefile.PL', - ], -); - -$build->create_build_script; - diff --git a/MANIFEST b/MANIFEST index 8fbe049..e69adbd 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,4 +1,3 @@ -Build.PL Changes Makefile.PL META.yml diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..0d52b87 --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,17 @@ +use strict; +use warnings; +use inc::Module::Install; + +name('Moose-Autobox'); +all_from('lib/Moose/Autobox.pm'); + +requires 'autobox' => '1.22'; +requires 'Moose' => '0.34'; +requires 'Perl6::Junction' => '1.10'; + +test_requires 'Test::More' => '0.62'; +test_requires 'Test::Exception' => '0.21'; + +tests_recursive; + +WriteAll;