Skip to content

Commit

Permalink
Add Makefile target for running Devel::Cover
Browse files Browse the repository at this point in the history
Makes it easier for those of us playing along at home to spot what's
missing. :-)

Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
  • Loading branch information
abh authored and mndrix committed Dec 1, 2008
1 parent 1eb14b8 commit 44ac172
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile.PL
Expand Up @@ -29,3 +29,12 @@ WriteMakefile(
%params,
);

sub MY::postamble {
qq[
testcover :
\t cover -delete && \\
HARNESS_PERL_SWITCHES=-MDevel::Cover \$(MAKE) test && \\
cover
]

}

0 comments on commit 44ac172

Please sign in to comment.