X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Makefile.PL;h=aba193a9c31334d3143011f6a9d5f2c373bb71fd;hp=a7dd00195b0735b72c44364adcb6daf3eded8df4;hb=36c67dc10cd5a928718d4e9122e03297a959a47e;hpb=bb318800a10846d07fd081068615a14cfa2dd6dc diff --git a/Makefile.PL b/Makefile.PL index a7dd001..aba193a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -52,6 +52,7 @@ recommends 'B::Hooks::OP::Check::StashChange'; test_requires 'Class::Data::Inheritable'; test_requires 'Test::Exception'; +test_requires 'Test::More' => '0.88'; # aggregate tests if AGGREGATE_TESTS is set and a recent Test::Aggregate and a Test::Simple it works with is available if ($ENV{AGGREGATE_TESTS} && can_use('Test::Simple', '0.88') && can_use('Test::Aggregate', '0.35_05')) { @@ -64,6 +65,7 @@ else { map { glob } qw[t/*.t t/aggregate/*.t]; } author_requires 'CatalystX::LeakChecker', '0.03'; # Skipped if this isn't installed +author_requires 'File::Copy::Recursive'; # For http server test author_tests 't/author'; author_requires(map {; $_ => 0 } qw( @@ -149,7 +151,7 @@ sub darwin_check_no_resource_forks { # TAR on 10.4 wants COPY_EXTENDED_ATTRIBUTES_DISABLE # On 10.5 (Leopard) it wants COPYFILE_DISABLE - die("Oh, you got Lion, snazzy. Please read the man page for tar or Google to find out if Apple renamed COPYFILE_DISABLE (it was COPY_EXTENDED_ATTRIBUTES_DISABLE originally) again and fix this Makefile.PL please?\n") if $osx_ver =~ /^10.7/; + die("Oh, you got Ceiling Cat, snazzy. Please read the man page for tar or Google to find out if Apple renamed COPYFILE_DISABLE (it was COPY_EXTENDED_ATTRIBUTES_DISABLE originally) again and fix this Makefile.PL please?\n") if $osx_ver =~ /^10.7/; my $attr = $osx_ver =~ /^10.(5|6)/ ? 'COPYFILE_DISABLE' : 'COPY_EXTENDED_ATTRIBUTES_DISABLE'; makemaker_args(dist => { PREOP => qq{\@if [ "\$\$$attr" != "true" ]; then}.