line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Dist::Zilla::PluginBundle::GPHAT; |
2
|
|
|
|
|
|
|
$Dist::Zilla::PluginBundle::GPHAT::VERSION = '0.06'; |
3
|
1
|
|
|
1
|
|
746
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
with 'Dist::Zilla::Role::PluginBundle::Easy'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# ABSTRACT: Dist::Zilla plugins for gphat |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub configure { |
11
|
|
|
|
|
|
|
my ($self) = @_; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
$self->add_bundle('@Basic'); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
$self->add_plugins([ |
16
|
|
|
|
|
|
|
'Git::NextVersion' => { |
17
|
|
|
|
|
|
|
first_version => '0.01', |
18
|
|
|
|
|
|
|
version_regexp => '^(\d+\.\d+)$' |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
]); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
$self->add_plugins(qw( |
23
|
|
|
|
|
|
|
ReadmeMarkdownFromPod |
24
|
|
|
|
|
|
|
PkgVersion |
25
|
|
|
|
|
|
|
AutoPrereqs |
26
|
|
|
|
|
|
|
)); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
$self->add_plugins([ |
29
|
|
|
|
|
|
|
'NextRelease' => { |
30
|
|
|
|
|
|
|
format => '%v %{MMM d yyyy}d' |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
]); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$self->add_plugins(qw( |
35
|
|
|
|
|
|
|
SynopsisTests |
36
|
|
|
|
|
|
|
PodSyntaxTests |
37
|
|
|
|
|
|
|
MetaJSON |
38
|
|
|
|
|
|
|
)); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
$self->add_plugins([ |
41
|
|
|
|
|
|
|
'GithubMeta' => { |
42
|
|
|
|
|
|
|
issues => 1 |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
]); |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
$self->add_plugins([ |
47
|
|
|
|
|
|
|
'CopyFilesFromBuild' => { |
48
|
|
|
|
|
|
|
copy => 'README.mkdn' |
49
|
|
|
|
|
|
|
} |
50
|
|
|
|
|
|
|
]); |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
$self->add_plugins([ |
53
|
|
|
|
|
|
|
'PruneFiles' => { |
54
|
|
|
|
|
|
|
filenames => [ qw(dist.ini weaver.ini) ] |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
]); |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
$self->add_plugins(qw(Git::Commit)); |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
$self->add_plugins([ |
61
|
|
|
|
|
|
|
'Git::Tag' => { |
62
|
|
|
|
|
|
|
tag_format => '%v' |
63
|
|
|
|
|
|
|
} |
64
|
|
|
|
|
|
|
]); |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
$self->add_plugins(qw(PodWeaver)); |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
70
|
|
|
|
|
|
|
no Moose; |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
1; |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
__END__ |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=pod |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=encoding UTF-8 |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 NAME |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Dist::Zilla::PluginBundle::GPHAT - Dist::Zilla plugins for gphat |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head1 VERSION |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
version 0.06 |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head1 DESCRIPTION |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
This is the plugin bundle that GPHAT uses. It's equivalent to: |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
[@Basic] |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
[Git::NextVersion] |
95
|
|
|
|
|
|
|
first_version = 0.01 |
96
|
|
|
|
|
|
|
version_regexp = ^(\d+\.\d+)$ |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
[ReadmeMarkdownFromPod] |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
[PkgVersion] |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
[AutoPrereqs] |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
[NextRelease] |
105
|
|
|
|
|
|
|
format = %v %{MMM d yyyy}d |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
[Test::Synopsis] |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
[PodSyntaxTests] |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
[MetaJSON] |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
[GithubMeta] |
114
|
|
|
|
|
|
|
issues = 1 |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
[CopyFilesFromBuild] |
117
|
|
|
|
|
|
|
copy = README.mkdn |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
[PruneFiles] |
120
|
|
|
|
|
|
|
filenames = dist.ini |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
[Git::Commit] |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
[Git::Tag] |
125
|
|
|
|
|
|
|
tag_format = %v |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
[PodWeaver] |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head1 AUTHOR |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
Cory G Watson <gphat@cpan.org> |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
This software is copyright (c) 2014 by Cory G Watson. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
138
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
=cut |