Browse files

add dependency on Test::Harness

  • Loading branch information...
1 parent ad308d3 commit 04ceb131b3b807c967a4e3fd887f20ef41199446 @petdance committed Aug 16, 2010
Showing with 7 additions and 5 deletions.
  1. +7 −5 Makefile.PL
View
12 Makefile.PL
@@ -2,18 +2,20 @@ use strict;
use warnings;
use ExtUtils::MakeMaker;
-WriteMakefile(
+my %args = (
NAME => 'TAP::Parser::SourceHandler::PHP',
AUTHOR => q{Andy Lester <andy@petdance.com>},
VERSION_FROM => 'lib/TAP/Parser/SourceHandler/PHP.pm',
ABSTRACT_FROM => 'lib/TAP/Parser/SourceHandler/PHP.pm',
- ($ExtUtils::MakeMaker::VERSION >= 6.3002
- ? ('LICENSE'=> 'artistic2')
- : ()),
PL_FILES => {},
PREREQ_PM => {
- 'Test::More' => 0,
+ 'Test::More' => 0,
+ 'Test::Harness' => 3.22,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'TAP-Parser-SourceHandler-PHP-*' },
);
+
+$args{LICENSE} = 'artistic2' if $ExtUtils::MakeMaker::VERSION >= 6.3002;
+
+WriteMakefile( %args );

0 comments on commit 04ceb13

Please sign in to comment.