NAME
Dist::Zilla::Plugin::Alt - Create Alt distributions with Dist::Zilla
VERSION
version 0.05
SYNOPSIS
Your dist.ini:
[GatherDir]
[MakeMaker]
[Alt]
DESCRIPTION
This Dist::Zilla plugin can be added to an existing dist.ini file to turn your (or someone else's) distribution into an Alt distribution. What it does is:
- Modifies
Makefile.PLorBuild.PL -
Adds code to change the install location so that your dist won't be installed unless the environment variable
PERL_ALT_INSTALLis set. - Updates the no_index meta
-
So that only
.pmfiles in your lib directory that are in theAlt::namespace will be indexed. - Sets the dist name property
-
If it isn't already specified in your
dist.inifile. It will determine this from theAlt::module in your distribution. If you have more than oneAlt::module it is an error.
CAVEATS
This plugin should appear in your dist.ini toward the end, or at least after your [GatherDir] and [MakeMaker] plugins (or equivalent).
SEE ALSO
AUTHOR
Graham Ollis <plicease@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.