Dist::...::Clean(3pm)
π NAME π
Dist::Zilla::Plugin::Run::Clean β bestie, it runs a command from your distribution when you hit dzil clean. That's literally the whole job. Cleanup szn, but make it yours. π
This page is Dist::...::Clean(3pm), from the User Contributed Perl Documentation corner of the world, and we're gonna walk through it together. π«Ά
π VERSION π
version 0.050
yes, that's the number, no cap, don't @ me.
β¨ SYNOPSIS β¨
so in your dist.ini you'd write something like this, and the plugin just... does the thing:
[Run::Clean]
run = script/do_that.pl
eval = unlink scratch.dat
that's it. that's the config. iconic behavior honestly. π
π¦ DESCRIPTION π¦
Okay so here's the tea: this plugin executes the command(s) you specify whenever the distribution is being cleaned. πΈ
You say "run this", it runs it. During clean. Simple, elegant, main character energy. β¨
π«Ά POSITIONAL PARAMETERS π«Ά
heads up bestie, the formatting variables are NOT documented here. Go peep "CONVERSIONS" in Dist::Zilla::Plugin::Run β that's where the list of common formatting variables available to all the plugins lives.
β οΈ lowkey important: some of those variables may not work properly, because the distribution is not built when the clean command runs. They are not tested yet β patches welcome! π (fr fr, if you fix it, they want your patch.)
π SUPPORT π
Got bugs? They go through the RT bug tracker, obviously:
- https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Run
- or email
bug-Dist-Zilla-Plugin-Run@rt.cpan.org(that'smailto: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 (irc://irc.perl.org/#distzilla). Come hang out, the vibes are immaculate. π§
π AUTHOR π
Torsten Raudssus <torsten@raudss.us> <https://raudss.us/> π
giving founder energy, we love to see it.
π 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. β
okay that's the whole page, you made it, I'm so proud of you π₯Ή This was perl v5.38.2, dated 2024-06-07, and it's the Dist::...::Clean(3pm) page β now go forth and dzil clean responsibly. πβ¨πΈ
π¦ 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