Skip to content

Commit

Permalink
move test prereqs out of "runtime" section
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Nov 18, 2014
1 parent 89065aa commit 61dd5fa
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Makefile.PL
Expand Up @@ -24,15 +24,19 @@ WriteMakefile(
NAME => 'Test::Deep',
VERSION_FROM => './lib/Test/Deep.pm',
PREREQ_PM => {
'Test::More' => '0',
'Test::Tester' => $tt_prereq,
'Test::NoWarnings' => '0.02',
'Test::Builder' => '0',
'Scalar::Util' => '1.09',

# apparently CPAN doesn't get the version of Scalar::Util
'List::Util' => '1.09',
},

( $ExtUtils::MakeMaker::VERSION < 6.63_03 ? 'BUILD_REQUIRES' : 'TEST_REQUIRES' ) => {
'Test::More' => '0',
'Test::Tester' => $tt_prereq,
'Test::NoWarnings' => '0.02',
},

LICENSE => "perl",

# This is a dumb mistake. Why did it get done? I'm the one who did it and I
Expand All @@ -42,6 +46,8 @@ WriteMakefile(
($] < 5.010 ? (INSTALLDIRS => 'perl') : ()),

($mm_ver < 6.46 ? () : (META_MERGE => {
'meta-spec' => { version => 2 },
dynamic_config => 1,
resources => {
license => 'http://dev.perl.org/licenses/',
homepage => 'http://github.com/rjbs/Test-Deep/',
Expand Down

0 comments on commit 61dd5fa

Please sign in to comment.