X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=aa7620c0e743b5d5ecb210316f665e9c4209e2f8;hb=4f9945f5a128e120049ce8a7a30cf469d1568b9b;hp=8c23c33d25f96fdaffedf763ba6b0e8df4c63788;hpb=9e3c345e4b8c719e6750c3b6c6ff43a31c55ba5f;p=gitmo%2FMouse.git diff --git a/Makefile.PL b/Makefile.PL index 8c23c33..aa7620c 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,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;") { @@ -24,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; @@ -64,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 $!;