Dist::...::Test(3pm)
π NAME π
ok so bestie, this is Dist::Zilla::Plugin::Run::Test β it's the plugin that runs a command for your distribution after the build, during the test phase. that's the whole vibe. π
(it lives in the Dist::...::Test corner of the user-contributed Perl documentation, iykyk.)
β¨ VERSION β¨
this is version 0.050 π«Ά
πΈ SYNOPSIS πΈ
the whole setup is literally this cute:
[Run::Test]
run = script/tester.pl --name %n --version %v some_file.ext
that's it. that's the configuration. slay. π
π¦ DESCRIPTION π¦
this plugin executes the command you specify during the test phase. that's its entire job and it does it beautifully. no cap. β¨
β οΈ CAVEAT β οΈ
ok so listen, this is important, don't skip it π
unlike the other [Run::*] plugins, when it runs your scripts, the current working directory will be the directory with the newly built distribution. that's not a bug, that's just... the way Dist::Zilla works. periodt.
so like, if your script was expecting to run from where you thought, it's giving surprise. plan accordingly bestie π
π POSITIONAL PARAMETERS π
wanna know about all the common formatting variables that every plugin gets? go peek at "CONVERSIONS" in Dist::Zilla::Plugin::Run β that's where the full list lives. π₯
as for this plugin specifically: there are no positional parameters. none. zero. the void. π
π«Ά SUPPORT π«Ά
got bugs? got feelings? submit them through the RT bug tracker:
<https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Run>
or you can email <bug-Dist-Zilla-Plugin-Run@rt.cpan.org> β that's the address, fr fr.
there's also a mailing list for users of this distribution, over at <http://dzil.org/#mailing-list> π
and there's an irc channel too, it's "#distzilla" on irc.perl.org β find it at <irc://irc.perl.org/#distzilla> π
come hang out, the vibes are immaculate.
β AUTHOR β
Torsten Raudssus <torsten@raudss.us> <https://raudss.us/> β icon, legend, wrote the thing. π
π 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. π
and that's the whole page bestie!! πΈ this was written for perl v5.38.2 and dated 2024-06-07, so if you're reading this from the future... hey. π mwah, go run your tests. π¦
π¦ 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