1 package inc::RequireAuthorDeps;
3 use Class::Load qw(load_class);
7 use Version::Requirements;
9 with 'Dist::Zilla::Role::BeforeRelease';
14 $self->log("Ensuring all author dependencies are installed");
15 my $req = Version::Requirements->new;
16 my $prereqs = $self->zilla->prereqs;
18 for my $phase (qw(build test configure runtime develop)) {
19 $req->add_requirements($prereqs->requirements_for($phase, 'requires'));
22 for my $mod (grep { $_ ne 'perl' } $req->required_modules) {