From: Rob Kinyon Date: Fri, 3 Feb 2006 15:17:41 +0000 (+0000) Subject: Converted to Build.PL X-Git-Tag: 0_04~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bdd612ce8bd988a3cad1eb05dd21ab5d25c1caa4;p=gitmo%2FClass-MOP.git Converted to Build.PL --- diff --git a/Build.PL b/Build.PL new file mode 100644 index 0000000..ba72ec8 --- /dev/null +++ b/Build.PL @@ -0,0 +1,28 @@ +use Module::Build; + +use strict; + +my $build = Module::Build->new( + module_name => 'Class::MOP', + license => 'perl', + requires => { + 'Scalar::Util' => '1.17', + 'Sub::Name' => '0.02', + 'Carp' => '0.01', + 'B' => '0', + }, + optional => { + }, + build_requires => { + 'Test::More' => '0.47', + '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 dee893d..35e0a89 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,7 +1,9 @@ +Build.PL Changes Makefile.PL MANIFEST README +META.yml examples/InsideOutClass.pm examples/InstanceCountingClass.pm examples/Perl6Attribute.pm diff --git a/Makefile.PL b/Makefile.PL deleted file mode 100644 index daeed08..0000000 --- a/Makefile.PL +++ /dev/null @@ -1,13 +0,0 @@ -use ExtUtils::MakeMaker; -WriteMakefile( - NAME => 'Class::MOP', - VERSION_FROM => 'lib/Class/MOP.pm', - PREREQ_PM => { - 'Test::More' => '0.47', - 'Test::Exception' => '0.21', - 'Scalar::Util' => '1.17', - 'Sub::Name' => '0.02', - 'Carp' => '0.01', - 'B' => '0', - } -); diff --git a/lib/Class/MOP/Attribute.pm b/lib/Class/MOP/Attribute.pm index 299342c..d26344c 100644 --- a/lib/Class/MOP/Attribute.pm +++ b/lib/Class/MOP/Attribute.pm @@ -418,4 +418,4 @@ L This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -=cut \ No newline at end of file +=cut