X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=aa7620c0e743b5d5ecb210316f665e9c4209e2f8;hb=7056deca2e7d4ee9c47e2cbf4be9895777733e54;hp=2f3193fe4e5cb49457772fe59540125e2a0fe8c5;hpb=1763d4d69e986002fc797b80e42db3cf565b3f6c;p=gitmo%2FMouse.git diff --git a/Makefile.PL b/Makefile.PL index 2f3193f..aa7620c 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,5 @@ use inc::Module::Install; +use 5.008; name 'Mouse'; all_from 'lib/Mouse.pm'; @@ -9,8 +10,8 @@ tests 't/*.t t/*/*.t'; # > Fixed looks_like_number(undef) to return false for perl >= 5.009002 requires 'Scalar::Util' => 1.14; -build_requires 'Test::Exception'; -build_requires 'Test::More'; +build_requires 'Test::Exception' => 0.21; +build_requires 'Test::More' => 0.80; if ($Module::Install::AUTHOR) { if (eval "package foo; use Moose; 1;") { @@ -23,6 +24,7 @@ if ($Module::Install::AUTHOR) { } else { print "you don't have a moose. skipping moose compatibility test\n"; } + system("author/generate-mouse-tiny.pl"); } auto_include; @@ -63,7 +65,7 @@ sub create_moose_compatibility_test { my $dirname = File::Basename::dirname($_); my $tmpdir = File::Spec->catfile('xt', 'compatibility', $dirname); - File::Path::make_path($tmpdir); + File::Path::mkpath($tmpdir); my $tmpfile = File::Spec->catfile($tmpdir, $basename); open my $wfh, '>', $tmpfile or die $!;