[tapx-dev] [commit][189] Added testcover target.
andy at hexten.net
andy at hexten.net
Mon Jul 16 18:56:33 BST 2007
Revision: 189
Author: andy
Date: 2007-07-16 18:56:33 +0100 (Mon, 16 Jul 2007)
Log Message:
-----------
Added testcover target.
Modified Paths:
--------------
trunk/Makefile.PL
Modified: trunk/Makefile.PL
===================================================================
--- trunk/Makefile.PL 2007-07-16 17:18:34 UTC (rev 188)
+++ trunk/Makefile.PL 2007-07-16 17:56:33 UTC (rev 189)
@@ -3,9 +3,12 @@
use strict;
use warnings;
+eval 'use ExtUtils::MakeMaker::Coverage';
+warn "Optional ExtUtils::MakeMaker::Coverage not available\n" if $@;
+
my @program;
-if ( prompt( "Do you wish to install the 'runtests' utility?", "y" )
- =~ /^[Yy]/ )
+if (
+ prompt( "Do you wish to install the 'runtests' utility?", "y" ) =~ /^[Yy]/ )
{
@program = ( EXE_FILES => ["bin/runtests"] );
}
More information about the tapx-dev
mailing list