Dist::...::Clean(3pm)

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

πŸŽ€ 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:

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.


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