projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
make Makefile.PL detect author-ness and require Test::Perl::Critic
[catagits/Catalyst-Runtime.git]
/
Makefile.PL
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;