Dist-Zilla-Plugin-ReadmeAnyFromPod
view release on metacpan or search on metacpan
lib/Dist/Zilla/Plugin/ReadmeAnyFromPod.pm view on Meta::CPAN
directory and the root directory, simply generate it in the build
directory and use the
L<C<[CopyFilesFromBuild]>|Dist::Zilla::Plugin::CopyFilesFromBuild>
plugin to copy it to the dist root.
=head2 phase
At what phase to generate the README file. Choices are:
=over 4
=item build
(Default) This generates the README at 'after build' time. A new
README will be generated each time you build the dist.
=item release
This generates the README at 'after release' time. Note that this is
too late to get the file into the generated tarball, and is therefore
incompatible with C<location = build>. However, this is ideal if you
are using C<location = root> and only want to update the README upon
each release of your module.
=back
=head1 METHODS
=head2 gather_files
We create the file early, so other plugins that need to have the full list of
files are aware of what we will be generating.
=head2 prune_files
Files with C<location = root> must also be pruned, so that they don't
sneak into the I<next> build by virtue of already existing in the root
dir. (The alternative is that the user doesn't add them to the build in the
first place, with an option to their C<GatherDir> plugin.)
=head2 munge_files
=head2 munge_file
Edits the content into the requested README file in the dist.
=head2 after_build
Create the requested README file at build time, if requested.
=head2 after_release
Create the requested README file at release time, if requested.
=head2 get_readme_content
Get the content of the README in the desired format.
=for Pod::Coverage BUILD
=head1 BUGS AND LIMITATIONS
Please report any bugs or feature requests to
C<rct+perlbug@thompsonclan.org>.
=head1 SEE ALSO
=over 4
=item *
L<Dist::Zilla::Plugin::ReadmeFromPod> - The base for this module
=item *
L<Dist::Zilla::Plugin::ReadmeMarkdownFromPod> - Functionality subsumed by this module
=item *
L<Dist::Zilla::Plugin::CopyReadmeFromBuild> - Functionality partly subsumed by this module
=back
=head1 INSTALLATION
See perlmodinstall for information and options on installing Perl modules.
=head1 AUTHORS
=over 4
=item *
Ryan C. Thompson <rct@thompsonclan.org>
=item *
Karen Etheridge <ether@cpan.org>
=back
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Ryan C. Thompson.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=head1 DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
( run in 1.207 second using v1.01-cache-2.11-cpan-39bf76dae61 )