NAME
Dist::Zilla::Plugin::Run - execute a command of the distribution on (so far) release
VERSION
version 0.002
SYNOPSIS
[Run]
on_before_release = script/myapp_before_release.pl %s
on_release = script/myapp_deploy.pl %s
on_after_release = script/myapp_after_release.pl %s
notexist_fatal = 1
on_all = script/myapp_on_dzil.pl %s %s
DESCRIPTION
This plugin executes (so far) on release a command, if its given on config. The %s get replaced by the parameters called on the hook of Dist::Zilla.
METHOD
on_before_release
Script started on the before_release hook of Dist::Zilla.
on_release
Script started on the release hook of Dist::Zilla.
on_after_release
Script started on the after_release hook of Dist::Zilla.
notexist_fatal
If this value is set to false, the plugin will ignore a not existing script. Default is true.
on_all
This script is called on every hook of Dist::Zilla this plugin covers, but the first %s will be the name of the hook of Dist::Zilla and the rest gets replaced in order of the parameters. It gets called after the more specific hook defined by the other parameters.
AUTHOR
Torsten Raudssus <torsten@raudssus.de> http://www.raudssus.de/
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Raudssus Social Software.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.