Scroll to navigation

Dist::Zilla::Plugin::Run::Clean(3pm) User Contributed Perl Documentation Dist::Zilla::Plugin::Run::Clean(3pm)

NAME

Dist::Zilla::Plugin::Run::Clean - execute a command of the distribution on 'dzil clean'

VERSION

version 0.048

SYNOPSIS

In your dist.ini:

    [Run::Clean]
    run = script/do_that.pl
    eval = unlink scratch.dat

DESCRIPTION

This plugin executes the specified command(s) when cleaning the distribution.

POSITIONAL PARAMETERS

See "CONVERSIONS" in Dist::Zilla::Plugin::Run for the list of common formatting variables available to all plugins. (Some of them may not work properly, because the distribution is not built when running the clean command. These are not tested yet - patches welcome!)

SUPPORT

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Run> (or bug-Dist-Zilla-Plugin-Run@rt.cpan.org <mailto:bug-Dist-Zilla-Plugin-Run@rt.cpan.org>).

There is also a mailing list available for users of this distribution, at <http://dzil.org/#mailing-list>.

There is also an irc channel available for users of this distribution, at "#distzilla" on "irc.perl.org" <irc://irc.perl.org/#distzilla>.

AUTHOR

Torsten Raudssus <torsten@raudss.us> <https://raudss.us/>

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.

2019-02-12 perl v5.28.1