Dist::...reBuild(3pm)

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

πŸ’– Dist::...reBuild β€” the manual, but make it make sense πŸ’–

okay so bestie, this is the page for Dist::Zilla::Plugin::Run::BeforeBuild (yes the header abbreviates it as Dist::...reBuild(3pm), we don't question the naming choices of the ancients) πŸ’… and it's genuinely so simple you're gonna be obsessed.


✨ NAME ✨

Dist::Zilla::Plugin::Run::BeforeBuild β€” it runs a command for your distribution before the build happens. that's it. that's the whole vibe. πŸŽ€


🌸 VERSION 🌸

version 0.050 β€” yes queen, we're on 0.050 πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

like, here's what it looks like in your dist.ini, no cap:

[Run::BeforeBuild]
run = script/do_this.pl --version %v
run = script/do_that.pl

see how you can stack multiple run lines? main character energy fr fr πŸ”₯


πŸ’œ DESCRIPTION πŸ’œ

so basically: this plugin executes the command(s) you specify before building the distribution. before. as in, it happens first. lowkey iconic that it's that straightforward 🫢


🌈 POSITIONAL PARAMETERS 🌈

for the full list of common formatting variables that literally every plugin in this family gets to use, go peek at "CONVERSIONS" in Dist::Zilla::Plugin::Run β€” that's where the goods are ✨

and then, for backward compatibility (iykyk, we keep the old stuff alive):

  • the 1st %s will be replaced by the distribution version. that's the first one only, bestie, don't come for me πŸ’…

πŸ’€ SUPPORT πŸ’€

got bugs? unfortunately relatable. you can submit them through the RT bug tracker at <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Run> β€” or, if email is more your thing, hit up bug-Dist-Zilla-Plugin-Run@rt.cpan.org πŸ“§

there's also a mailing list for users of this distribution, right over at <http://dzil.org/#mailing-list> πŸ“

and there's an irc channel too!! find us at "#distzilla" on "irc.perl.org" <irc://irc.perl.org/#distzilla> β€” come say hi, we don't bite 🌸


πŸ‘‘ AUTHOR πŸ‘‘

Torsten Raudssus <torsten@raudss.us> <https://raudss.us/> β€” thank you for your service, legend πŸ«‘πŸ’–


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. slay, permissive licensing, we love to see it πŸ’…βœ¨


okay that's the whole page!! go run your scripts before your build, bestie, you got this πŸ¦‹

and that's a wrap on Dist::...reBuild(3pm), version 0.050, dated 2024-06-07, churning along on perl v5.38.2 🌟 mwah, bye!! πŸ’–

πŸ“¦ where this page comes from