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