projects
/
p5sagit/strictures.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
detect when running tests via dzil
[p5sagit/strictures.git]
/
lib
/
strictures.pm
diff --git
a/lib/strictures.pm
b/lib/strictures.pm
index
0604746
..
1202799
100644
(file)
--- a/
lib/strictures.pm
+++ b/
lib/strictures.pm
@@
-23,7
+23,8
@@
sub VERSION {
my $extras_load_warned;
-our $Smells_Like_VCS = -e '.git' || -e '.svn';
+our $Smells_Like_VCS = (-e '.git' || -e '.svn'
+ || (-e '../../dist.ini' && (-e '../../.git' || -e '../../.svn')));
sub import {
strict->import;