Dist::...rBuild(3pm)

πŸ“¦
version 0.050 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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 %s gets replaced by the directory in which the distribution was built πŸ“
  • The 2nd %s gets replaced by the distribution version πŸ”’
yes bestie, positional %s is giving old-school. still works though. just don't be surprised when %d and %v are 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 πŸ‘‘


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