# test_requires 'Test::Output' => 0.16; # too many dependencies!
-include 'Test::Exception'; # work around 0.27_0x (its use of diehook might be wrong)
+include_deps 'Test::Exception'; # work around 0.27_0x (its use of diehook might be wrong)
recommends 'MRO::Compat' if $] < 5.010;
}
if(!defined $use_xs){
- require ExtUtils::CBuilder;
- $use_xs = ExtUtils::CBuilder->new(quiet => 1)->have_compiler();
+ $use_xs = eval {
+ require ExtUtils::CBuilder;
+ ExtUtils::CBuilder->new(quiet => 1)->have_compiler();
+ };
}
if($use_xs){
require Module::Install::XSUtil;
+ Module::Install::XSUtil->VERSION(0.15); # for co-developpers
+
use_ppport(3.19);
cc_warnings();
cc_src_paths('xs-src');
}
}
-clean_files 'lib/Mouse/Tiny.pm';
+clean_files 'lib/Mouse/Tiny.pm $(O_FILES)';
WriteAll check_nmake => 0;