[Catalyst-commits] r6657 - trunk/Catalyst-Runtime

matthewt at dev.catalyst.perl.org matthewt at dev.catalyst.perl.org
Mon Aug 13 14:02:20 GMT 2007


Author: matthewt
Date: 2007-08-13 14:02:20 +0100 (Mon, 13 Aug 2007)
New Revision: 6657

Modified:
   trunk/Catalyst-Runtime/Makefile.PL
Log:
make Makefile.PL detect author-ness and require Test::Perl::Critic

Modified: trunk/Catalyst-Runtime/Makefile.PL
===================================================================
--- trunk/Catalyst-Runtime/Makefile.PL	2007-08-13 13:01:09 UTC (rev 6656)
+++ trunk/Catalyst-Runtime/Makefile.PL	2007-08-13 13:02:20 UTC (rev 6657)
@@ -31,6 +31,10 @@
 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;




More information about the Catalyst-commits mailing list