NAME

Dist::Zilla::PluginBundle::Author::PERLANCAR - Dist::Zilla like PERLANCAR when you build your dists

VERSION

This document describes version 0.606 of Dist::Zilla::PluginBundle::Author::PERLANCAR (from Perl distribution Dist-Zilla-PluginBundle-Author-PERLANCAR), released on 2021-08-15.

SYNOPSIS

# dist.ini
[@Author::PERLANCAR]

is equivalent to (see source).

DESCRIPTION

The gist:

I avoid stuffs that might change line numbers (so OurPkgVersion instead of PkgVersion, etc). I also always add #ABSTRACT, #PODNAME, and POD at the end of file).

I still maintain dependencies and increase version number manually (so no AutoVersion and AutoPrereqs).

I install my dists after release (the eat-your-own-dog-food principle), except when INSTALL=0 environment is specified. I also archive them using a script called archive-perl-release. This is currently a script on my computer, you can get them from my 'scripts' github repo but this is optional and the release process won't fail if the script does not exist.

There are extra stuffs related to Rinci, which should have no effect if you are not using any Rinci metadata in the code.

There are extra stuffs related to checking prerequisites: I have a blacklist of prerequisites to avoid so [Acme::CPANModules::Blacklist] will fail the build if any of the blacklisted modules are used as a prerequisite (unless the prerequisite is explicitly whitelisted by [Acme::CPANModules::Whitelist]). I avoid circular dependencies using [Prereqs::CheckCircular]. And I also maintain a file called pmversions.ini where I put minimum versions of some modules and check this using [Prereqs::EnsureVersion].

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Dist-Zilla-PluginBundle-Author-PERLANCAR.

SOURCE

Source repository is at https://github.com/perlancar/perl-Dist-Zilla-PluginBundle-Author-PERLANCAR.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-PluginBundle-Author-PERLANCAR

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

perlancar <perlancar@cpan.org>

CONTRIBUTORS

  • Alexandr Ciornii <alexchorny@gmail.com>

  • Steven Haryanto <sharyanto@cpan.org>

CONTRIBUTING

To contribute, you can send patches by email/via RT, or send pull requests on GitHub.

Most of the time, you don't need to build the distribution yourself. You can simply modify the code, then test via:

% prove -l

If you want to build the distribution (e.g. to try to install it locally on your system), you can install Dist::Zilla, Dist::Zilla::PluginBundle::Author::PERLANCAR, and sometimes one or two other Dist::Zilla plugin and/or Pod::Weaver::Plugin. Any additional steps required beyond that are considered a bug and can be reported to me.

COPYRIGHT AND LICENSE

This software is copyright (c) 2021, 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012 by perlancar <perlancar@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.