Dist::...rBuild(3pm)
π Dist::Zilla::Plugin::Run::AfterBuild π
okay bestie, so this is Dist::Zilla::Plugin::Run::AfterBuild β a page from the User Contributed Perl Documentation set, section 3pm π. Sit down, grab a strawberry lemonade π, and let's get into it.
β¨ NAME β¨
Dist::Zilla::Plugin::Run::AfterBuild β literally runs a command of the distribution after the build. that's the whole job. she's a one-trick pony and she ATE π«Ά
πΈ VERSION πΈ
version 0.050 π
π¦ SYNOPSIS π¦
so you drop this into your dist.ini like:
[Run::AfterBuild]
run = script/do_this.pl --dir %d --version %v
run = script/do_that.pl
and boom, the commands actually happen after the build. no cap π₯
π DESCRIPTION π
This plugin executes the specified command after building the distribution. that's it. that's the vibe. build finishes β command runs. iconic behavior, honestly π
π POSITIONAL PARAMETERS π
okay so for the full list of the common formatting variables that all the plugins get to use, go look at "CONVERSIONS" in Dist::Zilla::Plugin::Run. that's where the good stuff lives, iykyk β¨
But wait β for backward compatibility, there's some legacy magic too:
- The 1st
%sgets replaced by the directory in which the distribution was built π - The 2nd
%sgets replaced by the distribution version π’
yes bestie, positional%sis giving old-school. still works though. just don't be surprised when%dand%vare the cuter option π
π SUPPORT π
got a bug? π you can submit it through the RT bug tracker: <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Run>
or you can email it to 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>
and there's an irc channel for users of this distribution too β #distzilla on irc.perl.org β at <irc://irc.perl.org/#distzilla> π¬ come say hi, the group chat is open π«Ά
β AUTHOR β
Torsten Raudssus <torsten@raudss.us> <https://raudss.us/> β thank you for your service, king π
π COPYRIGHT AND LICENCE π
This software is copyright (c) 2010 by Raudssus Social Software <https://raudss.us/> π
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. fr fr, go wild, it's free π
and that's the whole page, bestie!! this lil doc is from perl v5.38.2, dated 2024-06-07, and yeah the man page name is Dist::...rBuild(3pm) because man pages truncate like that and honestly? it's giving mysterious. slay π
β¨π¦
π¦ 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