projects
/
p5sagit/strictures.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e622821
)
detect when running tests via dzil
Karen Etheridge [Thu, 12 Jul 2012 22:14:30 +0000 (15:14 -0700)]
Changes
patch
|
blob
|
blame
|
history
lib/strictures.pm
patch
|
blob
|
blame
|
history
diff --git
a/Changes
b/Changes
index
5223d84
..
b3bfcb0
100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-1,3
+1,4
@@
+ - test-specific strictures now enabled during 'dzil test'
1.004000 - 2012-07-12
- switch to testing calling file to avoid firing on dependencies
1.003001 - 2012-04-08
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;