X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FApp-EzPz.git;a=blobdiff_plain;f=Makefile.PL;fp=Makefile.PL;h=af94849befeec901654e95a7e98e582de7a1d591;hp=8860481f6faf6fcb3014f6a7f64515edcd04111c;hb=fb960e0eb2ad6ad19c2c695b6aa87716ae299a23;hpb=8dbc46889fe504dede2f94e854254e919ce68416 diff --git a/Makefile.PL b/Makefile.PL index 8860481..af94849 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,