From: Karen Etheridge Date: Thu, 12 Jul 2012 23:27:09 +0000 (-0700) Subject: document the new behaviour in the presence of Dist::Zilla X-Git-Tag: v1.004001~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Fstrictures.git;a=commitdiff_plain;h=37122dfebf25f57512fa3195baf6e13e9dc583d0 document the new behaviour in the presence of Dist::Zilla --- diff --git a/lib/strictures.pm b/lib/strictures.pm index 1202799..37d8d2e 100644 --- a/lib/strictures.pm +++ b/lib/strictures.pm @@ -98,8 +98,10 @@ except when called from a file which matches: (caller)[1] =~ /^(?:t|xt|lib|blib)/ and when either '.git' or '.svn' is present in the current directory (with -the intention of only forcing extra tests on the author side) - or when the -PERL_STRICTURES_EXTRA environment variable is set, in which case +the intention of only forcing extra tests on the author side) - or when '.git' +or '.svn' is present two directories up along with 'dist.ini' (which would +indicate we are in a 'dzil test' operation, via L) - +or when the PERL_STRICTURES_EXTRA environment variable is set, in which case use strictures 1;