X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=7aaeaa6d08d9bb755be38f7a231e63d6b7046d22;hb=c1fdb4609f77e41f9d0a8ff436adb6b97d26724e;hp=9ec98e23c60bef0707f0a3f23018c1a005c65d62;hpb=f90896ae18712675ac223834265342fbc5558b07;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index 9ec98e2..7aaeaa6 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,7 +167,15 @@ tests_recursive (qw| # temporary(?) until I get around to fix M::I wrt xt/ # needs Module::Install::AuthorTests -recursive_author_tests (qw/xt/); +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 $@; +}; install_script (qw|