Add my name to Changes
[gitmo/Mouse.git] / Makefile.PL
index 8c23c33..aa7620c 100755 (executable)
@@ -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 $!;