use warnings;
use inc::Module::Install;
+system($^X, 'author/generate-mouse-tiny.pl', 'lib/Mouse/Tiny.pm') == 0
+ or warn "Cannot generate Mouse::Tiny: $!";
+
name 'Mouse';
all_from 'lib/Mouse.pm';
recommends 'MRO::Compat' if $] < 5.010;
-makemaker_args PL_FILES => { 'author/generate-mouse-tiny.pl' => 'lib/Mouse/Tiny.pm' };
-system 'author/generate-mouse-tiny.pl', 'lib/Mouse/Tiny.pm';
-
if ($Module::Install::AUTHOR) {
local @INC = ('lib', @INC);
require 'lib/Mouse/Spec.pm';
}
}
+clean_files 'lib/Mouse/Tiny.pm';
+
WriteAll check_nmake => 0;
sub create_moose_compatibility_test {
return if /failing/; # skip tests in failing/ directories which are Moose specific
- return if /100_with_moose/; # tests with Moose
+ return if /with_moose/; # tests with Moose
+ return if /100_bugs/; # some tests require Mouse specific files
return if /deprecated/;
my $basename = File::Basename::basename($_);