X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=7546d8724c5ba0e7e491f201b43a61d0e122a76b;hb=22a2062e71293ddb9e4ebef8d5de232e9b9a0e51;hp=2b976ee0ffb833ccf2d4c2f5255a0f1bc078a5b5;hpb=7f2c37b8665b550c2398fabdce5b4e18f082122b;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index 2b976ee..7546d87 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -49,6 +49,7 @@ my $runtime_requires = { 'Class::Inspector' => '1.24', 'Data::Page' => '2.00', 'DBI' => '1.609', + 'File::Path' => '2.07', 'MRO::Compat' => '0.09', 'Module::Find' => '0.06', 'Path::Class' => '0.18', @@ -166,14 +167,16 @@ tests_recursive (qw| # temporary(?) until I get around to fix M::I wrt xt/ # needs Module::Install::AuthorTests -eval { +eval { recursive_author_tests (qw/xt/); 1; } || do { - my $err = $@; - eval { require Module::Install::AuthorTests } - || die "\nYou need Module::Install::AuthorTests installed to run this Makefile.PL:\n\n$@\n"; - die $@; + unless ($args->{skip_author_deps}) { + my $err = $@; + eval { require Module::Install::AuthorTests } + || die "\nYou need Module::Install::AuthorTests installed to run this Makefile.PL:\n\n$@\n"; + die $@; + } };