X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=f0756cda07229b5b0638e489e2d9517f086a7b19;hb=4a7b93bf9e39f1d72af43e6b9032aecc33622192;hp=36093c161ac0acf397e42486d2d3714695450d0b;hpb=a5b4644414e4105fe94e52ba0073f5f8437ef154;p=gitmo%2FMoose.git diff --git a/Makefile.PL b/Makefile.PL index 36093c1..f0756cd 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,7 +1,22 @@ use strict; use warnings; -use ExtUtils::MakeMaker::Dist::Zilla::Develop; +BEGIN { + eval { require ExtUtils::MakeMaker::Dist::Zilla::Develop }; + if ($@) { + warn + "You need to install ExtUtils::MakeMaker::Dist::Zilla::Develop to run this Makefile.PL\n"; + exit 1; + } + + eval { require Test::Inline }; + if ($@) { + warn "You need to install Test::Inline to run this Makefile.PL\n"; + exit 1; + } + + ExtUtils::MakeMaker::Dist::Zilla::Develop->import(); +} use lib 'inc';