Dist::Zilla::Plugin::INI::Baked - Add a baked version of your configuration to tree automatically
version 0.002002
# somewhere in dist.ini or even your bundle [INI::Baked] ; filename = dist.ini.baked ; source_filename = dist.ini # and and dzil build # and and cat $MYDIST/dist.ini.baked # yay
Whether you wish to
Copy that file back to root/
root/
Name that file dist.ini
dist.ini
Add/Not add the original dist.ini to your built code.
All these choices are your discretion, and are presently expected to master other dzil plugins to make this possible.
I recommend:
[CopyFilesFromBuild]
[CopyFilesFromRelease]
Passing exclude rules to [Git::GatherDir]
[Git::GatherDir]
Passing exclude rules to [GatherDir]
[GatherDir]
These will of course all still work, because source_filename is read directly from $zilla->root
source_filename
$zilla->root
Patches to make it read from $zilla->files will be accepted, but YAGNI for now.
$zilla->files
gather_files
This module subscribes to the -FileGatherer role.
-FileGatherer
As such, this module injects a FromCode object during the gather phase.
FromCode
filename
The name of the file to emit.
DEFAULT:
dist.ini.baked
The name of the file to read
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::INI::Baked, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::INI::Baked
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::INI::Baked
For more information on module installation, please visit the detailed CPAN module installation guide.