Dist::Zilla::Role::GitConfig - Easy role to add git_config option to most plugins
package Dist::Zilla::Plugin::GitReleasePlugin; use Moose; with 'Dist::Zilla::Role::BeforeRelease'; with 'Dist::Zilla::Role::GitConfig'; sub _git_config_mapping { +{ push_to => '%{remote}s %{local_branch}s:%{remote_branch}s', changelog => '%{changelog}s', } }
This is an easy-to-use role for plugins to enable usage of Config::Git configurations.
Hashref of option to errf string mappings.
The mappings don't work for allow_dirty. These are (currently) hardcoded to map to allow_dirty and allow_dirty_match options directly.
allow_dirty
allow_dirty_match
The project homepage is https://github.com/SineSwiper/Dist-Zilla-Plugin-Config-Git/wiki.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see https://metacpan.org/module/Dist::Zilla::Plugin::Config::Git/.
Brendan Byrd <BBYRD@CPAN.org>
This software is Copyright (c) 2013 by Brendan Byrd.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Dist::Zilla::Plugin::Config::Git, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Config::Git
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Config::Git
For more information on module installation, please visit the detailed CPAN module installation guide.