| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
1
|
|
|
1
|
|
136121
|
use strict; |
|
|
1
|
|
|
|
|
5
|
|
|
|
1
|
|
|
|
|
26
|
|
|
2
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
23
|
|
|
3
|
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
21
|
use 5.014; |
|
|
1
|
|
|
|
|
3
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package Dist::Zilla::PluginBundle::WCS; |
|
7
|
|
|
|
|
|
|
$Dist::Zilla::PluginBundle::WCS::VERSION = '0.003'; |
|
8
|
|
|
|
|
|
|
# ABSTRACT: WCS distribution build |
|
9
|
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
466
|
use Moose; |
|
|
1
|
|
|
|
|
379149
|
|
|
|
1
|
|
|
|
|
7
|
|
|
11
|
1
|
|
|
1
|
|
6531
|
use Dist::Zilla; |
|
|
1
|
|
|
|
|
925476
|
|
|
|
1
|
|
|
|
|
98
|
|
|
12
|
|
|
|
|
|
|
with |
|
13
|
|
|
|
|
|
|
'Dist::Zilla::Role::PluginBundle::Easy', |
|
14
|
|
|
|
|
|
|
'Dist::Zilla::Role::PluginBundle::PluginRemover', |
|
15
|
|
|
|
|
|
|
'Dist::Zilla::Role::PluginBundle::Config::Slicer'; |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
|
18
|
1
|
|
|
1
|
|
494
|
use Dist::Zilla::PluginBundle::Basic; |
|
|
1
|
|
|
|
|
58207
|
|
|
|
1
|
|
|
|
|
42
|
|
|
19
|
1
|
|
|
1
|
|
510
|
use Dist::Zilla::PluginBundle::Filter; |
|
|
1
|
|
|
|
|
11562
|
|
|
|
1
|
|
|
|
|
28
|
|
|
20
|
1
|
|
|
1
|
|
380
|
use Dist::Zilla::PluginBundle::Git; |
|
|
1
|
|
|
|
|
483041
|
|
|
|
1
|
|
|
|
|
177
|
|
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub configure { |
|
23
|
0
|
|
|
0
|
0
|
|
my ($self) = @_; |
|
24
|
|
|
|
|
|
|
|
|
25
|
0
|
|
|
|
|
|
$self->add_plugins( |
|
26
|
|
|
|
|
|
|
'Git::NextVersion', |
|
27
|
|
|
|
|
|
|
'License', |
|
28
|
|
|
|
|
|
|
[ CopyFilesFromBuild => { copy => 'LICENSE', } ], |
|
29
|
|
|
|
|
|
|
[ 'Git::GatherDir' => { exclude_filename => 'LICENSE', } ], |
|
30
|
|
|
|
|
|
|
[ |
|
31
|
|
|
|
|
|
|
PkgVersion => { |
|
32
|
|
|
|
|
|
|
die_on_existing_version => 1, |
|
33
|
|
|
|
|
|
|
die_on_line_insertion => 1, |
|
34
|
|
|
|
|
|
|
} |
|
35
|
|
|
|
|
|
|
], |
|
36
|
|
|
|
|
|
|
[ |
|
37
|
|
|
|
|
|
|
NextRelease => { |
|
38
|
|
|
|
|
|
|
timezone => 'America/Chicago', |
|
39
|
|
|
|
|
|
|
format => '%-9v %{yyyy-MM-dd}d', |
|
40
|
|
|
|
|
|
|
} |
|
41
|
|
|
|
|
|
|
], |
|
42
|
|
|
|
|
|
|
); |
|
43
|
|
|
|
|
|
|
|
|
44
|
0
|
|
|
|
|
|
$self->add_bundle( |
|
45
|
|
|
|
|
|
|
'@Git' => { |
|
46
|
|
|
|
|
|
|
remotes_must_exist => 0, |
|
47
|
|
|
|
|
|
|
push_to => [ 'origin', 'backup', ] |
|
48
|
|
|
|
|
|
|
} |
|
49
|
|
|
|
|
|
|
); |
|
50
|
|
|
|
|
|
|
|
|
51
|
0
|
|
|
|
|
|
$self->add_bundle( |
|
52
|
|
|
|
|
|
|
'@Filter' => { |
|
53
|
|
|
|
|
|
|
'-bundle' => '@Basic', |
|
54
|
|
|
|
|
|
|
'-remove' => [ 'License', 'GatherDir' ], |
|
55
|
|
|
|
|
|
|
} |
|
56
|
|
|
|
|
|
|
); |
|
57
|
|
|
|
|
|
|
|
|
58
|
0
|
|
|
|
|
|
$self->add_plugins( |
|
59
|
|
|
|
|
|
|
qw/ |
|
60
|
|
|
|
|
|
|
InstallGuide |
|
61
|
|
|
|
|
|
|
Git::Contributors |
|
62
|
|
|
|
|
|
|
GithubMeta |
|
63
|
|
|
|
|
|
|
MetaConfig |
|
64
|
|
|
|
|
|
|
MetaJSON |
|
65
|
|
|
|
|
|
|
MinimumPerlFast |
|
66
|
|
|
|
|
|
|
PodWeaver |
|
67
|
|
|
|
|
|
|
/, |
|
68
|
|
|
|
|
|
|
[ |
|
69
|
|
|
|
|
|
|
ReadmeAnyFromPod => { |
|
70
|
|
|
|
|
|
|
type => 'markdown', |
|
71
|
|
|
|
|
|
|
filename => 'README.md', |
|
72
|
|
|
|
|
|
|
location => 'root', |
|
73
|
|
|
|
|
|
|
} |
|
74
|
|
|
|
|
|
|
], |
|
75
|
|
|
|
|
|
|
qw/ |
|
76
|
|
|
|
|
|
|
TaskWeaver |
|
77
|
|
|
|
|
|
|
AutoPrereqs |
|
78
|
|
|
|
|
|
|
/, |
|
79
|
|
|
|
|
|
|
[ |
|
80
|
|
|
|
|
|
|
TravisYML => { |
|
81
|
|
|
|
|
|
|
build_branch => '/^release\/.*/' |
|
82
|
|
|
|
|
|
|
} |
|
83
|
|
|
|
|
|
|
], |
|
84
|
|
|
|
|
|
|
qw/ |
|
85
|
|
|
|
|
|
|
MetaTests |
|
86
|
|
|
|
|
|
|
TravisCI::StatusBadge |
|
87
|
|
|
|
|
|
|
Test::ChangeHasContent |
|
88
|
|
|
|
|
|
|
Test::NoTabs |
|
89
|
|
|
|
|
|
|
/, |
|
90
|
|
|
|
|
|
|
[ |
|
91
|
|
|
|
|
|
|
'Test::EOL' => { |
|
92
|
|
|
|
|
|
|
trailing_whitespace => 1, |
|
93
|
|
|
|
|
|
|
all_reasons => 1, |
|
94
|
|
|
|
|
|
|
} |
|
95
|
|
|
|
|
|
|
], |
|
96
|
|
|
|
|
|
|
qw/ |
|
97
|
|
|
|
|
|
|
Test::Compile |
|
98
|
|
|
|
|
|
|
PodSyntaxTests |
|
99
|
|
|
|
|
|
|
PodCoverageTests |
|
100
|
|
|
|
|
|
|
Test::Pod::No404s |
|
101
|
|
|
|
|
|
|
Test::ReportPrereqs |
|
102
|
|
|
|
|
|
|
Test::Perl::Critic |
|
103
|
|
|
|
|
|
|
Test::Kwalitee |
|
104
|
|
|
|
|
|
|
/, |
|
105
|
|
|
|
|
|
|
[ |
|
106
|
|
|
|
|
|
|
'Git::CommitBuild' => { |
|
107
|
|
|
|
|
|
|
branch => '', |
|
108
|
|
|
|
|
|
|
release_branch => 'release/%b', |
|
109
|
|
|
|
|
|
|
release_message => 'Build release of %v (on %b)' |
|
110
|
|
|
|
|
|
|
} |
|
111
|
|
|
|
|
|
|
], |
|
112
|
|
|
|
|
|
|
qw/ |
|
113
|
|
|
|
|
|
|
TestRelease |
|
114
|
|
|
|
|
|
|
ConfirmRelease |
|
115
|
|
|
|
|
|
|
/, |
|
116
|
|
|
|
|
|
|
); |
|
117
|
|
|
|
|
|
|
} |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
|
121
|
1
|
|
|
1
|
|
8
|
no Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
6
|
|
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
1; |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
__END__ |
|
126
|
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=pod |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=encoding UTF-8 |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=head1 NAME |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
Dist::Zilla::PluginBundle::WCS - WCS distribution build |
|
134
|
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head1 VERSION |
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
version 0.003 |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
140
|
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
This is the plugin bundle that WCS uses. It is equivalent to: |
|
142
|
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
[Git::NextVersion] |
|
144
|
|
|
|
|
|
|
[License] |
|
145
|
|
|
|
|
|
|
[CopyFilesFromBuild] |
|
146
|
|
|
|
|
|
|
copy = LICENSE |
|
147
|
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
[Git::GatherDir] |
|
149
|
|
|
|
|
|
|
exclude_filename = LICENSE |
|
150
|
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
[PkgVersion] |
|
152
|
|
|
|
|
|
|
die_on_existing_version = 1 |
|
153
|
|
|
|
|
|
|
die_on_line_insertion = 1 |
|
154
|
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
[NextRelease] |
|
156
|
|
|
|
|
|
|
timezone = America/Chicago |
|
157
|
|
|
|
|
|
|
format = %-9v %{yyyy-MM-dd}d |
|
158
|
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
[@Git] |
|
160
|
|
|
|
|
|
|
remotes_must_exist = 0 |
|
161
|
|
|
|
|
|
|
push_to = 'origin' |
|
162
|
|
|
|
|
|
|
push_to = 'backup' |
|
163
|
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
[@Filter] |
|
165
|
|
|
|
|
|
|
-bundle = @Basic |
|
166
|
|
|
|
|
|
|
-remove = License |
|
167
|
|
|
|
|
|
|
-remove = GatherDir |
|
168
|
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
[InstallGuide] |
|
170
|
|
|
|
|
|
|
[Git::Contributors] |
|
171
|
|
|
|
|
|
|
[GithubMeta] |
|
172
|
|
|
|
|
|
|
[MetaConfig] |
|
173
|
|
|
|
|
|
|
[MetaYAML] |
|
174
|
|
|
|
|
|
|
[MetaJSON] |
|
175
|
|
|
|
|
|
|
[MinimumPerlFast] |
|
176
|
|
|
|
|
|
|
[PodWeaver] |
|
177
|
|
|
|
|
|
|
[ReadmeAnyFromPod |
|
178
|
|
|
|
|
|
|
type = markdown |
|
179
|
|
|
|
|
|
|
filename = README.md |
|
180
|
|
|
|
|
|
|
location = root |
|
181
|
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
[AutoPrereqs] |
|
183
|
|
|
|
|
|
|
[TravisYML] |
|
184
|
|
|
|
|
|
|
build_release = /^release\/.*/ |
|
185
|
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
[MetaTests] |
|
187
|
|
|
|
|
|
|
[TravisCI::StatusBadge] |
|
188
|
|
|
|
|
|
|
[Test::ChangesHasContent] |
|
189
|
|
|
|
|
|
|
[Test::NoTabs] |
|
190
|
|
|
|
|
|
|
[Test::EOL] |
|
191
|
|
|
|
|
|
|
trailing_whitespace = 1 |
|
192
|
|
|
|
|
|
|
all_reasons = 1 |
|
193
|
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
[Test::Compile] |
|
195
|
|
|
|
|
|
|
[PodSyntaxTests] |
|
196
|
|
|
|
|
|
|
[PodCoverageTests] |
|
197
|
|
|
|
|
|
|
[Test::Pod::No404s] |
|
198
|
|
|
|
|
|
|
[Test::ReportPrereqs] |
|
199
|
|
|
|
|
|
|
[Test::Perl::Critic] |
|
200
|
|
|
|
|
|
|
[Test::Kwalitee] |
|
201
|
|
|
|
|
|
|
[Git::CommitBuild] |
|
202
|
|
|
|
|
|
|
branch = |
|
203
|
|
|
|
|
|
|
release_branch = release/%b |
|
204
|
|
|
|
|
|
|
release_message = Build release of %v (on %b) |
|
205
|
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
[TestRelease] |
|
207
|
|
|
|
|
|
|
[ConfirmRelease] |
|
208
|
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
=for Pod::Coverage configure |
|
210
|
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
=head1 AUTHOR |
|
212
|
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
William C Scherz III <wcs@cpan.org> |
|
214
|
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
216
|
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
This software is copyright (c) 2019 by William C Scherz III. |
|
218
|
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
|
220
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
|
221
|
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
=head1 CONTRIBUTOR |
|
223
|
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
=for stopwords Mohammad S Anwar |
|
225
|
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
Mohammad S Anwar <mohammad.anwar@yahoo.com> |
|
227
|
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
=cut |