Dist::Zilla::Plugin::RunByBranch - Run external commands at specific phases of Dist::Zilla on regex'd Git branches
version 0.214
[RunByBranch::BeforeBuild] run = ^dev script/clean_artifacts.pl %s run = ^test script/prepare_tests.pl %n %v [RunByBranch::BeforeRelease] run = ^master$ script/myapp_deploy1.pl %s [RunByBranch::AfterBuild] run = ^dev script/myapp_after.pl %s %v run_no_trial ^dev script/no_trial.pl run = ^test(.*)/v1.[0-3]$ script/report_test_results.pl %s %v [RunByBranch::Test] run = ^feature/ script/report.pl
This module aims to duplicate the interface of the fantasticly useful Dist::Zilla::Plugin::Run by allowing the user to specify a regex that determines on which Git branch the command should be run.
I am a very terrible programmer and user of words.
Dist::Zilla::Plugin::Run Dist::Zilla::Plugin::Git
Matt Finkel <finkel.matt@gmail.com> http://mfinkel.net/
This software is copyright (c) 2013 by Matt Finkel.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::RunByBranch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::RunByBranch
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::RunByBranch
For more information on module installation, please visit the detailed CPAN module installation guide.