projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
273f165
)
make Makefile.PL detect author-ness and require Test::Perl::Critic
Matt S Trout [Mon, 13 Aug 2007 13:02:20 +0000 (13:02 +0000)]
Makefile.PL
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.PL
b/Makefile.PL
index
5d25050
..
e9b18eb
100644
(file)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-31,6
+31,10
@@
requires 'Tree::Simple::Visitor::FindByPath';
requires 'URI' => '1.35';
requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness
+if (-e 'inc/.author') {
+ build_requires 'Test::Perl::Critic';
+}
+
install_script glob('script/*.pl');
auto_install;
WriteAll;