1Dist::Zilla::Role::GitCUosnefrigC(o3n)tributed Perl DocuDmiesntt:a:tZiiolnla::Role::GitConfig(3)
2
3
4

NAME

6       Dist::Zilla::Role::GitConfig - Easy role to add git_config option to
7       most plugins
8

SYNOPSIS

10           package Dist::Zilla::Plugin::GitReleasePlugin;
11
12           use Moose;
13
14           with 'Dist::Zilla::Role::BeforeRelease';
15           with 'Dist::Zilla::Role::GitConfig';
16
17           sub _git_config_mapping { +{
18              push_to   => '%{remote}s %{local_branch}s:%{remote_branch}s',
19              changelog => '%{changelog}s',
20           } }
21

DESCRIPTION

23       This is an easy-to-use role for plugins to enable usage of Config::Git
24       configurations.
25

REQUIREMENTS

27   _git_config_mapping
28       Hashref of option to errf string mappings.
29
30       The mappings don't work for "allow_dirty".  These are (currently)
31       hardcoded to map to "allow_dirty" and "allow_dirty_match" options
32       directly.
33

AVAILABILITY

35       The project homepage is
36       <https://github.com/SineSwiper/Dist-Zilla-Plugin-Config-Git>.
37
38       The latest version of this module is available from the Comprehensive
39       Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find
40       a CPAN site near you, or see
41       <https://metacpan.org/module/Dist::Zilla::Plugin::Config::Git/>.
42

AUTHOR

44       Brendan Byrd <BBYRD@CPAN.org>
45
47       This software is Copyright (c) 2013 by Brendan Byrd.
48
49       This is free software, licensed under:
50
51         The Artistic License 2.0 (GPL Compatible)
52
53
54
55perl v5.28.0                      2013-12-04   Dist::Zilla::Role::GitConfig(3)
Impressum