From: John Goulah Date: Thu, 1 May 2008 22:11:03 +0000 (+0000) Subject: replacing Build.PL with Makefile.PL X-Git-Tag: 0_15~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=521a8c3f43514b93e003783a9209d137804166bf;p=gitmo%2FMooseX-Getopt.git replacing Build.PL with Makefile.PL --- diff --git a/Build.PL b/Build.PL deleted file mode 100644 index 790dcab..0000000 --- a/Build.PL +++ /dev/null @@ -1,27 +0,0 @@ -use Module::Build; - -use strict; - -my $build = Module::Build->new( - module_name => 'MooseX::Getopt', - license => 'perl', - requires => { - 'Moose' => '0.39', - 'Getopt::Long' => '2.34', - }, - optional => { - 'Getopt::Long::Descriptive' => 0, - }, - 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 24d0d07..1c258b8 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,5 +1,15 @@ -Build.PL ChangeLog +inc/Module/AutoInstall.pm +inc/Module/Install.pm +inc/Module/Install/AutoInstall.pm +inc/Module/Install/Base.pm +inc/Module/Install/Can.pm +inc/Module/Install/Fetch.pm +inc/Module/Install/Include.pm +inc/Module/Install/Makefile.pm +inc/Module/Install/Metadata.pm +inc/Module/Install/Win32.pm +inc/Module/Install/WriteAll.pm lib/MooseX/Getopt.pm lib/MooseX/Getopt/Meta/Attribute.pm lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm @@ -19,5 +29,6 @@ t/004_nogetop.t t/005_strict.t t/006_metaclass_traits.t t/007_nogetopt_trait.t +t/008_configfromfile.t t/pod.t t/pod_coverage.t diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..317458b --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,20 @@ +use inc::Module::Install; + +name 'MooseX-Getopt'; +license 'perl'; + +all_from 'lib/MooseX/Getopt.pm'; + +requires 'Moose' => '0.43'; +requires 'Getopt::Long' => '2.37'; + +# optional +requires 'Getopt::Long::Descriptive' => 0; + +build_requires 'Test::More' => '0.62'; +build_requires 'Test::Exception' => '0.21'; + +tests_recursive(); +auto_install; + +WriteAll;