From: Peter Rabbitson Date: Tue, 8 Jun 2010 08:43:08 +0000 (+0200) Subject: skip_author_deps should not require M::I::AT X-Git-Tag: v0.08123~16 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=commitdiff_plain;h=22a2062e71293ddb9e4ebef8d5de232e9b9a0e51;hp=c1fdb4609f77e41f9d0a8ff436adb6b97d26724e skip_author_deps should not require M::I::AT --- diff --git a/Makefile.PL b/Makefile.PL index 7aaeaa6..7546d87 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -171,10 +171,12 @@ 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 $@; + } };