my $BUILD_PREREQS = {
'ExtUtils::MakeMaker' => '0',
- 'Test::Differences' => '0',
'Test::More' => '0',
'Test::Warn' => '0',
};
build => [ qw<build test> ],
run => [ qw<runtime> ],
);
+my %meta_phase_relationships = (
+ configure => [ qw<requires> ],
+ build => [ qw<requires> ],
+ test => [ qw<requires> ],
+ runtime => [ qw<requires recommends suggests> ],
+);
+
my %prereqs = (
configure => {
'ExtUtils::MakeMaker' => '0',
for my $meta_phase (@{$eumm_phases{$eumm_phase}}) {
- for my $type (qw<requires recommends suggests>) {
+ for my $type (@{$meta_phase_relationships{$meta_phase}}) {
my $phase_prereqs = $meta->{prereqs}{$meta_phase}{$type};
next unless $phase_prereqs;