Guest User

Untitled

a guest
May 24th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. diff --git a/lib/Dist/Zilla/App/Command/prereqs.pm b/lib/Dist/Zilla/App/Command/prereqs.pm
  2. index 7962cbe..b5b94d1 100644
  3. --- a/lib/Dist/Zilla/App/Command/prereqs.pm
  4. +++ b/lib/Dist/Zilla/App/Command/prereqs.pm
  5. @@ -18,10 +18,7 @@ sub execute {
  6. $_->gather_files for $self->zilla->plugins_with(-FileGatherer)->flatten;
  7. $_->prune_files for $self->zilla->plugins_with(-FilePruner)->flatten;
  8. $_->munge_files for $self->zilla->plugins_with(-FileMunger)->flatten;
  9. - for my $plugin ($self->zilla->plugins_with(-FixedPrereqs)->flatten) {
  10. - my $prereq = $plugin->prereq;
  11. - $self->zilla->register_prereqs($_ => $prereq->{$_}) for keys %$prereq;
  12. - }
  13. + $_->register_prereqs for $self->zilla->plugins_with(-PrereqSource)->flatten;
  14. };
  15. my $prereq = $self->zilla->prereq->as_distmeta;
  16. my %req;
Add Comment
Please, Sign In to add comment