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