Skip to content

Commit fc5e1d3

Browse files
karenetheridgeLeont
authored andcommitted
update configure, build, test prereqs
Things used by Build.PL or things loaded by Build.PL belong in configure prereqs; all the build prereqs are things actually only used in testing, so belong in the test phase.
1 parent bda5718 commit fc5e1d3

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

Build.PL

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,10 @@ my $build = ModuleBuildBuilder->new(
3434
'Perl::OSType' => 1,
3535
'Module::Metadata' => '1.000002',
3636
'version' => '0.87',
37-
},
38-
build_requires => {
39-
'File::Temp' => 0.15, # tmpdir() + fixes
40-
'Test::More' => 0.49,
41-
'TAP::Harness' => 3.29, # TAP::Harness::Env
42-
'Parse::CPAN::Meta' => '1.4401',
43-
'CPAN::Meta::YAML' => 0.003,
37+
'File::Spec' => '0.82',
38+
'File::Copy' => 0,
39+
'File::Basename' => 0,
40+
'File::Path' => 0,
4441
},
4542
# KEEP 'requires' as low as possible and target Build/test/install
4643
# Requirements for authors should be implemented as optional features
@@ -69,6 +66,13 @@ my $build = ModuleBuildBuilder->new(
6966
'Module::Metadata' => 1.000002, # uses version.pm
7067
'Pod::Man' => 2.17, # utf8 support
7168
},
69+
test_requires => {
70+
'File::Temp' => 0.15, # tmpdir() + fixes
71+
'Test::More' => 0.49,
72+
'TAP::Harness' => 3.29, # TAP::Harness::Env
73+
'Parse::CPAN::Meta' => '1.4401',
74+
'CPAN::Meta::YAML' => 0.003,
75+
},
7276
recommends => {
7377
'ExtUtils::Install' => 0.30,
7478
'ExtUtils::Manifest' => 1.54, # public maniskip()

0 commit comments

Comments
 (0)