[Catalyst-commits] r7858 - trunk/CatalystX-Imports
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Thu May 29 14:01:07 BST 2008
Author: rafl
Date: 2008-05-29 14:01:07 +0100 (Thu, 29 May 2008)
New Revision: 7858
Modified:
trunk/CatalystX-Imports/Makefile.PL
Log:
Add a testcover makefile target.
Modified: trunk/CatalystX-Imports/Makefile.PL
===================================================================
--- trunk/CatalystX-Imports/Makefile.PL 2008-05-29 13:01:03 UTC (rev 7857)
+++ trunk/CatalystX-Imports/Makefile.PL 2008-05-29 13:01:07 UTC (rev 7858)
@@ -24,3 +24,15 @@
requires q{Class::C3}, '0.14';
WriteAll;
+
+package MY;
+
+sub postamble {
+ my $make_test = q{PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), 'inc', '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)};
+
+ return <<"EOM"
+testcover: pm_to_blib
+\t-HARNESS_PERL_SWITCHES=-MDevel::Cover $make_test
+\tcover
+EOM
+}
More information about the Catalyst-commits
mailing list