Dist::...Archive(3pm)
π NAME π
Dist::Zilla::Plugin::Run::BeforeArchive β bestie, this lil plugin runs a command for your dist before the archive gets built. Like, right before the tarball era begins. It's giving pre-game ritual energy. β¨
(Also hi, you're reading the User Contributed Perl Documentation version of this page, just so you know who wrote all this down for you π«Ά)
πΈ VERSION πΈ
version 0.050 β yeah, she's got a number, she's got a vibe. π
β¨ SYNOPSIS β¨
Okay so in your dist.ini you literally just drop this in:
[Run::BeforeArchive]
run = script/do_this.pl --dir %d --version %v
run = script/do_that.pl
That's it. That's the whole setup. Iconic. π
π¦ DESCRIPTION π¦
So here's the tea: this plugin executes the specified command right before the archive file is built. Before. Not after. Before. Timing is everything, bestie. β°
If you've got stuff that needs to happen β scripts to run, things to poke, whatever β and it has to happen before the tarball gets sealed up, this is your girl. π
π POSITIONAL PARAMETERS π
Wanna know what those funky little %d and %v things are? Same, girl.
Go check out "CONVERSIONS" in Dist::Zilla::Plugin::Run β that's where the full list of common formatting variables lives, and those variables are available to all the plugins, not just this one. iykyk. π₯
π SUPPORT π
Found a bug? First of all, no cap, it happens. Here's where to yell about it:
- Bugs go through the RT bug tracker: <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Run> β or you can email
bug-Dist-Zilla-Plugin-Run@rt.cpan.org. - There's also a mailing list for users of this distribution, right here: <http://dzil.org/#mailing-list>. Come hang out, we're fun. π
- And there's an irc channel for users of this distribution too:
#distzillaonirc.perl.org(<irc://irc.perl.org/#distzilla>). Stop by, say hi. π
π AUTHOR π
Torsten Raudssus <torsten@raudss.us> <https://raudss.us/> β the main character who made this happen. Respect. π«‘
β COPYRIGHT AND LICENCE β
This software is copyright (c) 2010 by Raudssus Social Software <https://raudss.us/>.
And listen β this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Free as in, go wild (within the terms, obviously). π
K byeeee, this page was served up by perl v5.38.2 on 2024-06-07, and it came to you courtesy of Dist::...Archive(3pm). Slay, go build that archive. π
β¨π
π¦ where this page comes from
- debian trixie: libdist-zilla-plugin-run-perl 0.050-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdist-zilla-plugin-run-perl 0.050-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdist-zilla-plugin-run-perl 0.050-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms