rjbs / Dist-Zilla

scary tools for building CPAN distributions
http://dzil.org/
186 stars 152 forks source link

Can't pass options from bundles to their plugins [rt.cpan.org #76750] #686

Open rjbs opened 3 years ago

rjbs commented 3 years ago

https://rt.cpan.org/Ticket/Display.html?id=76750

I use the @Basic bundle and I want to pass an option to the GatherDir plugin that is bundled in it like this:

  [@Basic]
  exclude_match = ~$

This doesn't work for me. It seems that the @Basic bundle is not passing the options to its plugins.

I was able to do what I want like this:

  [GatherDir]
  exclude_match = ~$

  [@Filter]
  -bundle = @Basic
  -remove = GatherDir

Shouldn't @Basic pass the options to its plugins?