[Catalyst-commits] r6806 - trunk/Catalyst-View-Mason

rafl at dev.catalyst.perl.org rafl at dev.catalyst.perl.org
Tue Aug 28 17:03:55 GMT 2007


Author: rafl
Date: 2007-08-28 17:03:54 +0100 (Tue, 28 Aug 2007)
New Revision: 6806

Modified:
   trunk/Catalyst-View-Mason/Makefile.PL
Log:
Add a testcover target.


Modified: trunk/Catalyst-View-Mason/Makefile.PL
===================================================================
--- trunk/Catalyst-View-Mason/Makefile.PL	2007-08-28 16:03:53 UTC (rev 6805)
+++ trunk/Catalyst-View-Mason/Makefile.PL	2007-08-28 16:03:54 UTC (rev 6806)
@@ -12,3 +12,13 @@
 
 auto_install;
 WriteAll;
+
+package MY;
+
+sub postamble {
+    return <<"EOM"
+testcover:
+\tHARNESS_PERL_SWITCHES=-MDevel::Cover PERL_DL_NONLAZY=1 \$(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness(\$(TEST_VERBOSE), 'inc', '\$(INST_LIB)', '\$(INST_ARCHLIB)')" \$(TEST_FILES)
+\tcover
+EOM
+}




More information about the Catalyst-commits mailing list