Dist::Zilla::Plugin::TemplateFiles - Use files to template a distribution
version 0.01
In your dist.ini:
[TemplateFiles] filename = README filename = path/to/other/file
Utilize Text::Template to turn certain files into templates. Each template has available to it the $dist variable that is the instance of Dist::Zilla currently running. Only those files listed in dist.ini as filename = blah will be considered templates. Filenames are given relative to the root of the build.
$dist
dist.ini
filename = blah
Dist::Zilla::Plugin::TemplateFiles - use files as templates to build a distribution
Jonathan Scott Duff <duff@pobox.com>
This software is copyright (c) 2010 by Jonathan Scott Duff
This is free sofware; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language itself.
author = Jonathan Scott Duff <duff@pobox.com>
This software is copyright (c) 2010 by Jonathan Scott Duff.
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::TemplateFiles, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::TemplateFiles
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::TemplateFiles
For more information on module installation, please visit the detailed CPAN module installation guide.