X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=fdccdc6a380ab1dbf4a78bacd5beb9f29613a2b9;hb=0a0e9549e16b04188b7763226208c69f53d78149;hp=8860481f6faf6fcb3014f6a7f64515edcd04111c;hpb=d5b7f727dd4b86f46096674f94c7d634b17b599c;p=scpubgit%2FApp-EzPz.git diff --git a/Makefile.PL b/Makefile.PL index 8860481..fdccdc6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,6 +3,14 @@ use warnings FATAL => 'all'; use 5.008001; use ExtUtils::MakeMaker; +my $full_test = $ENV{TEST_APP_EZPZ} ||= do { + prompt("Run integration tests? (y/n)", "n") eq "y" +}; + +if ($full_test) { + mkdir('test-setup'); +} + WriteMakefile( NAME => 'App-EzPz', VERSION => 0, @@ -13,6 +21,7 @@ WriteMakefile( 'Eval::WithLexicals' => 0, 'IPC::System::Simple' => 0, strictures => 0, - 'File::Which' => 0 + 'File::Which' => 0, + 'Capture::Tiny' => 0, } );