Dist::Zilla::Role::ArchiveBuilder - something that builds archives
Plugins implementing this role have their
build_archive method called when it is time to build the archive.
This module should work on any version of perl still receiving updates from the Perl 5 Porters. This means it should work on any version of perl released in the last two to three years. (That is, if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38.)
Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.
This method takes three arguments, and returns a Path::Tiny instance containing the path to the archive.
This is the name of the archive (including
-TRIALif appropriate) without the format extension (that is the
.tar.gzpart). The plugin implementing this role should add the appropriate full path including extension as the returned Path::Tiny instance. Not including the extension allows the plugin to choose its own format.
This is a Path::Tiny where the distribution has been built.
This method will return the dist's basename (e.g.
Dist-Name-1.01as a Path::Tiny. The basename is used as the top-level directory in the tarball. It does not include
-TRIAL, even if building a trial dist.
Ricardo SIGNES 😏 <email@example.com>
This software is copyright (c) 2021 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.