diff options
author | Karen Etheridge <ether@cpan.org> | 2014-02-16 18:30:06 -0800 |
---|---|---|
committer | Karen Etheridge <ether@cpan.org> | 2014-02-16 18:30:06 -0800 |
commit | 710e601f4d934933e5076d3198ef3c5698e175bb (patch) | |
tree | 4414ecf7bf2ccb119d269b2548cf99ba9da23d22 | |
parent | 54849b0db19115f3491f62834532c635f56ecd14 (diff) | |
download | extutils-makemaker-dist-zilla-develop-710e601f4d934933e5076d3198ef3c5698e175bb.tar.gz extutils-makemaker-dist-zilla-develop-710e601f4d934933e5076d3198ef3c5698e175bb.zip |
Update dist.ini instructions
For some plugins that add Makefile.PL, [PruneFiles] will remove the new Makefile.PL being added, rather than removing the old one that exists in the repo. Excluding the file from [GatherDir] will always work, so this is a safer recommendation.
-rw-r--r-- | lib/ExtUtils/MakeMaker/Dist/Zilla/Develop.pm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/ExtUtils/MakeMaker/Dist/Zilla/Develop.pm b/lib/ExtUtils/MakeMaker/Dist/Zilla/Develop.pm index ccfae9d..4d4f01b 100644 --- a/lib/ExtUtils/MakeMaker/Dist/Zilla/Develop.pm +++ b/lib/ExtUtils/MakeMaker/Dist/Zilla/Develop.pm @@ -31,11 +31,9 @@ commands to generate your test suite, for example), and tell Dist::Zilla to replace it with a real C<Makefile.PL> when you're actually ready to build a real distribution. To do this, make sure you're still using the L<MakeMaker|Dist::Zilla::Plugin::MakeMaker> plugin, either directly or through -a pluginbundle like L<@Basic|Dist::Zilla::PluginBundle::Basic>, and add this to -your C<dist.ini>: - - [PruneFiles] - filenames = Makefile.PL +a pluginbundle like L<@Basic|Dist::Zilla::PluginBundle::Basic>, and add the +C<exclude_filename = Makefile.PL> option to your F<dist.ini> where you use +C<[GatherDir]>. In addition, this module also intercepts the C<install> and C<dist> rules in the generated Makefile to run the appropriate Dist::Zilla commands |