From 710e601f4d934933e5076d3198ef3c5698e175bb Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Sun, 16 Feb 2014 18:30:06 -0800 Subject: 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. --- lib/ExtUtils/MakeMaker/Dist/Zilla/Develop.pm | 8 +++----- 1 file 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 when you're actually ready to build a real distribution. To do this, make sure you're still using the L plugin, either directly or through -a pluginbundle like L<@Basic|Dist::Zilla::PluginBundle::Basic>, and add this to -your C: - - [PruneFiles] - filenames = Makefile.PL +a pluginbundle like L<@Basic|Dist::Zilla::PluginBundle::Basic>, and add the +C option to your F where you use +C<[GatherDir]>. In addition, this module also intercepts the C and C rules in the generated Makefile to run the appropriate Dist::Zilla commands -- cgit v1.2.3-54-g00ecf