Dist::Zilla::Role::GitConfig3pm
Easy role to add git_config option to most plugins
Usage
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',} }
Overview
This is an easy-to-use role for plugins to enable usage of Config::Git configurations.
Requirements
_git_config_mapping
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.
Copyright and license
This software is Copyright (c) 2013 by Brendan Byrd.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
Releases
6 releases since Debian 8 (Jessie); the text changed 2 times.