line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
88297
|
use 5.10.0; |
|
1
|
|
|
|
|
13
|
|
2
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
19
|
|
3
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
69
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Dist::Iller::Config::Author::CSSON; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# ABSTRACT: Dist::Iller config |
8
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY |
9
|
|
|
|
|
|
|
our $VERSION = '0.0326'; |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
511
|
use Moose; |
|
1
|
|
|
|
|
410976
|
|
|
1
|
|
|
|
|
7
|
|
12
|
1
|
|
|
1
|
|
6789
|
use namespace::autoclean; |
|
1
|
|
|
|
|
6910
|
|
|
1
|
|
|
|
|
3
|
|
13
|
1
|
|
|
1
|
|
727
|
use Path::Tiny; |
|
1
|
|
|
|
|
9396
|
|
|
1
|
|
|
|
|
64
|
|
14
|
1
|
|
|
1
|
|
521
|
use Types::Path::Tiny qw/Path/; |
|
1
|
|
|
|
|
83751
|
|
|
1
|
|
|
|
|
8
|
|
15
|
1
|
|
|
1
|
|
399
|
use Types::Standard qw/Bool Str Int/; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
16
|
1
|
|
|
1
|
|
1156
|
use MooseX::AttributeDocumented; |
|
1
|
|
|
|
|
6629
|
|
|
1
|
|
|
|
|
2
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
has filepath => ( |
19
|
|
|
|
|
|
|
is => 'ro', |
20
|
|
|
|
|
|
|
isa => Path, |
21
|
|
|
|
|
|
|
default => 'author-csson.yaml', |
22
|
|
|
|
|
|
|
coerce => 1, |
23
|
|
|
|
|
|
|
documentation => q{Path to the plugin configuration file, relative to the installed share dir location.}, |
24
|
|
|
|
|
|
|
); |
25
|
|
|
|
|
|
|
has is_task => ( |
26
|
|
|
|
|
|
|
is => 'ro', |
27
|
|
|
|
|
|
|
isa => Bool, |
28
|
|
|
|
|
|
|
default => 0, |
29
|
|
|
|
|
|
|
documentation => q{If set to a true value it will include [TaskWeaver] instead of [PodWeaver].}, |
30
|
|
|
|
|
|
|
); |
31
|
|
|
|
|
|
|
has installer => ( |
32
|
|
|
|
|
|
|
is => 'rw', |
33
|
|
|
|
|
|
|
isa => Str, |
34
|
|
|
|
|
|
|
lazy => 1, |
35
|
|
|
|
|
|
|
default => 'MakeMaker', |
36
|
|
|
|
|
|
|
documentation => q{The installer plugin to be used.}, |
37
|
|
|
|
|
|
|
); |
38
|
|
|
|
|
|
|
has is_private => ( |
39
|
|
|
|
|
|
|
is => 'rw', |
40
|
|
|
|
|
|
|
isa => Int, |
41
|
|
|
|
|
|
|
lazy => 1, |
42
|
|
|
|
|
|
|
default => 0, |
43
|
|
|
|
|
|
|
documentation_alts => { |
44
|
|
|
|
|
|
|
0 => q{Include [UploadToCPAN] and [GithubMeta].}, |
45
|
|
|
|
|
|
|
1 => q{Include [UploadToStratopan].}, |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
); |
48
|
|
|
|
|
|
|
has homepage => ( |
49
|
|
|
|
|
|
|
is => 'rw', |
50
|
|
|
|
|
|
|
isa => Str, |
51
|
|
|
|
|
|
|
lazy => 1, |
52
|
|
|
|
|
|
|
default => sub { |
53
|
|
|
|
|
|
|
my $self = shift; |
54
|
|
|
|
|
|
|
$self->has_distribution_name ? sprintf 'https://metacpan.org/release/%s', $self->distribution_name : undef; |
55
|
|
|
|
|
|
|
}, |
56
|
|
|
|
|
|
|
documentation_default => q{https://metacpan.org/release/[distribution_name]}, |
57
|
|
|
|
|
|
|
documentation => q{URL to the distribution's homepage.}, |
58
|
|
|
|
|
|
|
); |
59
|
|
|
|
|
|
|
has splint => ( |
60
|
|
|
|
|
|
|
is => 'rw', |
61
|
|
|
|
|
|
|
isa => Int, |
62
|
|
|
|
|
|
|
default => 0, |
63
|
|
|
|
|
|
|
documentation_alts => { |
64
|
|
|
|
|
|
|
0 => q{Exclude Pod::Elemental::Transformer::Splint from weaver.ini}, |
65
|
|
|
|
|
|
|
1 => q{Include Pod::Elemental::Transformer::Splint in weaver.ini}, |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
); |
68
|
|
|
|
|
|
|
has badges => ( |
69
|
|
|
|
|
|
|
is => 'ro', |
70
|
|
|
|
|
|
|
isa => Bool, |
71
|
|
|
|
|
|
|
default => 1, |
72
|
|
|
|
|
|
|
documentation => 'Include Badge::Depot badges or not.', |
73
|
|
|
|
|
|
|
); |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
has travis => ( |
76
|
|
|
|
|
|
|
is => 'rw', |
77
|
|
|
|
|
|
|
isa => Int, |
78
|
|
|
|
|
|
|
default => 0, |
79
|
|
|
|
|
|
|
documentation_order => 100, |
80
|
|
|
|
|
|
|
documentation_alts => { |
81
|
|
|
|
|
|
|
0 => q{Exclude [TravisYML].}, |
82
|
|
|
|
|
|
|
1 => q{Include [TravisYML].}, |
83
|
|
|
|
|
|
|
}, |
84
|
|
|
|
|
|
|
); |
85
|
|
|
|
|
|
|
has travis_perl_min => ( |
86
|
|
|
|
|
|
|
is => 'ro', |
87
|
|
|
|
|
|
|
isa => Int, |
88
|
|
|
|
|
|
|
lazy => 1, |
89
|
|
|
|
|
|
|
default => '14', |
90
|
|
|
|
|
|
|
documentation_order => 101, |
91
|
|
|
|
|
|
|
documentation => q{Minimum Perl version to test on Travis. All production releases up to (and including) 'travis_perl_max' are automatically included. Only give the minor version number (eg '14' for Perl 5.14).}, |
92
|
|
|
|
|
|
|
); |
93
|
|
|
|
|
|
|
has travis_perl_max => ( |
94
|
|
|
|
|
|
|
is => 'ro', |
95
|
|
|
|
|
|
|
isa => Int, |
96
|
|
|
|
|
|
|
lazy => 1, |
97
|
|
|
|
|
|
|
default => '24', |
98
|
|
|
|
|
|
|
documentation_order => 102, |
99
|
|
|
|
|
|
|
documentation => q{Maximum Perl version to test on Travis. See 'travis_perl_min'.} |
100
|
|
|
|
|
|
|
); |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
with 'Dist::Iller::Config'; |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
sub build_file { |
106
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
107
|
0
|
0
|
|
|
|
|
return $self->installer =~ m/MakeMaker/ ? 'Makefile.PL' : 'Build.PL'; |
108
|
|
|
|
|
|
|
} |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
sub is_private_release { |
111
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
112
|
0
|
0
|
0
|
|
|
|
return !$ENV{'FAKE_RELEASE'} && $self->is_private ? 1 : 0; |
113
|
|
|
|
|
|
|
} |
114
|
|
|
|
|
|
|
sub is_cpan_release { |
115
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
116
|
0
|
0
|
0
|
|
|
|
return $ENV{'FAKE_RELEASE'} || $self->is_private ? 0 : 1; |
117
|
|
|
|
|
|
|
} |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
sub add_default_github { |
120
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
121
|
|
|
|
|
|
|
# check git config |
122
|
0
|
|
|
|
|
|
my $add_default_github = 0; |
123
|
0
|
|
|
|
|
|
my $git_config = path('.git/config'); |
124
|
0
|
0
|
|
|
|
|
if($git_config->exists) { |
125
|
0
|
|
|
|
|
|
my $git_config_contents = $git_config->slurp_utf8; |
126
|
0
|
0
|
|
|
|
|
if($git_config_contents =~ m{github\.com:([^/]+)/(.+)\.git}) { |
127
|
0
|
|
|
|
|
|
$add_default_github = 1; |
128
|
|
|
|
|
|
|
} |
129
|
|
|
|
|
|
|
else { |
130
|
0
|
|
|
|
|
|
say ('[DI/@Author::CSSON] No github url found'); |
131
|
|
|
|
|
|
|
} |
132
|
|
|
|
|
|
|
} |
133
|
0
|
|
|
|
|
|
return $add_default_github; |
134
|
|
|
|
|
|
|
} |
135
|
|
|
|
|
|
|
sub travis_perl { |
136
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
137
|
0
|
0
|
|
|
|
|
return join ' ' => map { "5.$_" } grep { $_ >= $self->travis_perl_min && $_ <= $self->travis_perl_max } qw/6 8 10 12 14 16 18 20 22 24/; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
} |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
1; |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
__END__ |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=pod |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=encoding UTF-8 |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
=head1 NAME |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
Dist::Iller::Config::Author::CSSON - Dist::Iller config |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=begin html |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
<p> |
159
|
|
|
|
|
|
|
<img src="https://img.shields.io/badge/perl-5.10+-blue.svg" alt="Requires Perl 5.10+" /> |
160
|
|
|
|
|
|
|
<a href="http://cpants.cpanauthors.org/release/CSSON/Dist-Iller-Config-Author-CSSON-0.0326"><img src="http://badgedepot.code301.com/badge/kwalitee/CSSON/Dist-Iller-Config-Author-CSSON/0.0326" alt="Distribution kwalitee" /></a> |
161
|
|
|
|
|
|
|
<a href="http://matrix.cpantesters.org/?dist=Dist-Iller-Config-Author-CSSON%200.0326"><img src="http://badgedepot.code301.com/badge/cpantesters/Dist-Iller-Config-Author-CSSON/0.0326" alt="CPAN Testers result" /></a> |
162
|
|
|
|
|
|
|
<img src="https://img.shields.io/badge/coverage-42.7%-red.svg" alt="coverage 42.7%" /> |
163
|
|
|
|
|
|
|
</p> |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=end html |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=head1 VERSION |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
Version 0.0326, released 2020-12-15. |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=head1 SYNOPSIS |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
# in iller.yaml |
176
|
|
|
|
|
|
|
+config: Author::CSSON |
177
|
|
|
|
|
|
|
splint: 1 |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=head1 DESCRIPTION |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
Dist::Iller::Config::Author::Csson is a L<Dist::Iller> configuration. The plugin list is in C<share/author-csson.yaml>. |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
=head2 travis |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
=begin HTML |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
191
|
|
|
|
|
|
|
<tr> |
192
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Int">Int</a></td> |
193
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>0</code></td> |
194
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">read/write</td> |
195
|
|
|
|
|
|
|
<td style="text-align: right; padding-right: 6px; padding-left: 6px;"><code>0</code>:</td> |
196
|
|
|
|
|
|
|
<td style="padding-left: 12px;">Exclude [TravisYML].</td> |
197
|
|
|
|
|
|
|
</tr> |
198
|
|
|
|
|
|
|
<tr> |
199
|
|
|
|
|
|
|
<td> </td> |
200
|
|
|
|
|
|
|
<td> </td> |
201
|
|
|
|
|
|
|
<td> </td> |
202
|
|
|
|
|
|
|
<td style="text-align: right; padding-right: 6px; padding-left: 6px;"><code>1</code>:</td> |
203
|
|
|
|
|
|
|
<td style="padding-left: 12px;">Include [TravisYML].</td> |
204
|
|
|
|
|
|
|
</tr> |
205
|
|
|
|
|
|
|
</table> |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
<p></p> |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
=end HTML |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
=begin markdown |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
214
|
|
|
|
|
|
|
<tr> |
215
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Int">Int</a></td> |
216
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>0</code></td> |
217
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">read/write</td> |
218
|
|
|
|
|
|
|
<td style="text-align: right; padding-right: 6px; padding-left: 6px;"><code>1</code>:</td> |
219
|
|
|
|
|
|
|
<td style="padding-left: 12px;">Include [TravisYML].</td> |
220
|
|
|
|
|
|
|
</tr> |
221
|
|
|
|
|
|
|
</table> |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
<p></p> |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
=end markdown |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
=head2 travis_perl_min |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
=begin HTML |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
232
|
|
|
|
|
|
|
<tr> |
233
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Int">Int</a></td> |
234
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>14</code></td> |
235
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td> |
236
|
|
|
|
|
|
|
</tr> |
237
|
|
|
|
|
|
|
</table> |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
<p>Minimum Perl version to test on Travis. All production releases up to (and including) 'travis_perl_max' are automatically included. Only give the minor version number (eg '14' for Perl 5.14).</p> |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
=end HTML |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
=begin markdown |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
246
|
|
|
|
|
|
|
<tr> |
247
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Int">Int</a></td> |
248
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>14</code></td> |
249
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td> |
250
|
|
|
|
|
|
|
</tr> |
251
|
|
|
|
|
|
|
</table> |
252
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
<p>Minimum Perl version to test on Travis. All production releases up to (and including) 'travis_perl_max' are automatically included. Only give the minor version number (eg '14' for Perl 5.14).</p> |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
=end markdown |
256
|
|
|
|
|
|
|
|
257
|
|
|
|
|
|
|
=head2 travis_perl_max |
258
|
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
=begin HTML |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
262
|
|
|
|
|
|
|
<tr> |
263
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Int">Int</a></td> |
264
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>24</code></td> |
265
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td> |
266
|
|
|
|
|
|
|
</tr> |
267
|
|
|
|
|
|
|
</table> |
268
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
<p>Maximum Perl version to test on Travis. See 'travis_perl_min'.</p> |
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
=end HTML |
272
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
=begin markdown |
274
|
|
|
|
|
|
|
|
275
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
276
|
|
|
|
|
|
|
<tr> |
277
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Int">Int</a></td> |
278
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>24</code></td> |
279
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td> |
280
|
|
|
|
|
|
|
</tr> |
281
|
|
|
|
|
|
|
</table> |
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
<p>Maximum Perl version to test on Travis. See 'travis_perl_min'.</p> |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
=end markdown |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
=head2 badges |
288
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
=begin HTML |
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
292
|
|
|
|
|
|
|
<tr> |
293
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Bool">Bool</a></td> |
294
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>1</code></td> |
295
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td> |
296
|
|
|
|
|
|
|
</tr> |
297
|
|
|
|
|
|
|
</table> |
298
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
<p>Include Badge::Depot badges or not.</p> |
300
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
=end HTML |
302
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
=begin markdown |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
306
|
|
|
|
|
|
|
<tr> |
307
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Bool">Bool</a></td> |
308
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>1</code></td> |
309
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td> |
310
|
|
|
|
|
|
|
</tr> |
311
|
|
|
|
|
|
|
</table> |
312
|
|
|
|
|
|
|
|
313
|
|
|
|
|
|
|
<p>Include Badge::Depot badges or not.</p> |
314
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
=end markdown |
316
|
|
|
|
|
|
|
|
317
|
|
|
|
|
|
|
=head2 filepath |
318
|
|
|
|
|
|
|
|
319
|
|
|
|
|
|
|
=begin HTML |
320
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
322
|
|
|
|
|
|
|
<tr> |
323
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Path::Tiny#Path">Path</a></td> |
324
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>author-csson.yaml</code></td> |
325
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td> |
326
|
|
|
|
|
|
|
</tr> |
327
|
|
|
|
|
|
|
</table> |
328
|
|
|
|
|
|
|
|
329
|
|
|
|
|
|
|
<p>Path to the plugin configuration file, relative to the installed share dir location.</p> |
330
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
=end HTML |
332
|
|
|
|
|
|
|
|
333
|
|
|
|
|
|
|
=begin markdown |
334
|
|
|
|
|
|
|
|
335
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
336
|
|
|
|
|
|
|
<tr> |
337
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Path::Tiny#Path">Path</a></td> |
338
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>author-csson.yaml</code></td> |
339
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td> |
340
|
|
|
|
|
|
|
</tr> |
341
|
|
|
|
|
|
|
</table> |
342
|
|
|
|
|
|
|
|
343
|
|
|
|
|
|
|
<p>Path to the plugin configuration file, relative to the installed share dir location.</p> |
344
|
|
|
|
|
|
|
|
345
|
|
|
|
|
|
|
=end markdown |
346
|
|
|
|
|
|
|
|
347
|
|
|
|
|
|
|
=head2 homepage |
348
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
=begin HTML |
350
|
|
|
|
|
|
|
|
351
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
352
|
|
|
|
|
|
|
<tr> |
353
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a></td> |
354
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>https://metacpan.org/release/[distribution_name]</code></td> |
355
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read/write</td> |
356
|
|
|
|
|
|
|
</tr> |
357
|
|
|
|
|
|
|
</table> |
358
|
|
|
|
|
|
|
|
359
|
|
|
|
|
|
|
<p>URL to the distribution's homepage.</p> |
360
|
|
|
|
|
|
|
|
361
|
|
|
|
|
|
|
=end HTML |
362
|
|
|
|
|
|
|
|
363
|
|
|
|
|
|
|
=begin markdown |
364
|
|
|
|
|
|
|
|
365
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
366
|
|
|
|
|
|
|
<tr> |
367
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a></td> |
368
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>https://metacpan.org/release/[distribution_name]</code></td> |
369
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read/write</td> |
370
|
|
|
|
|
|
|
</tr> |
371
|
|
|
|
|
|
|
</table> |
372
|
|
|
|
|
|
|
|
373
|
|
|
|
|
|
|
<p>URL to the distribution's homepage.</p> |
374
|
|
|
|
|
|
|
|
375
|
|
|
|
|
|
|
=end markdown |
376
|
|
|
|
|
|
|
|
377
|
|
|
|
|
|
|
=head2 installer |
378
|
|
|
|
|
|
|
|
379
|
|
|
|
|
|
|
=begin HTML |
380
|
|
|
|
|
|
|
|
381
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
382
|
|
|
|
|
|
|
<tr> |
383
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a></td> |
384
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>MakeMaker</code></td> |
385
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read/write</td> |
386
|
|
|
|
|
|
|
</tr> |
387
|
|
|
|
|
|
|
</table> |
388
|
|
|
|
|
|
|
|
389
|
|
|
|
|
|
|
<p>The installer plugin to be used.</p> |
390
|
|
|
|
|
|
|
|
391
|
|
|
|
|
|
|
=end HTML |
392
|
|
|
|
|
|
|
|
393
|
|
|
|
|
|
|
=begin markdown |
394
|
|
|
|
|
|
|
|
395
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
396
|
|
|
|
|
|
|
<tr> |
397
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a></td> |
398
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>MakeMaker</code></td> |
399
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read/write</td> |
400
|
|
|
|
|
|
|
</tr> |
401
|
|
|
|
|
|
|
</table> |
402
|
|
|
|
|
|
|
|
403
|
|
|
|
|
|
|
<p>The installer plugin to be used.</p> |
404
|
|
|
|
|
|
|
|
405
|
|
|
|
|
|
|
=end markdown |
406
|
|
|
|
|
|
|
|
407
|
|
|
|
|
|
|
=head2 is_private |
408
|
|
|
|
|
|
|
|
409
|
|
|
|
|
|
|
=begin HTML |
410
|
|
|
|
|
|
|
|
411
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
412
|
|
|
|
|
|
|
<tr> |
413
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Int">Int</a></td> |
414
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>0</code></td> |
415
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">read/write</td> |
416
|
|
|
|
|
|
|
<td style="text-align: right; padding-right: 6px; padding-left: 6px;"><code>0</code>:</td> |
417
|
|
|
|
|
|
|
<td style="padding-left: 12px;">Include [UploadToCPAN] and [GithubMeta].</td> |
418
|
|
|
|
|
|
|
</tr> |
419
|
|
|
|
|
|
|
<tr> |
420
|
|
|
|
|
|
|
<td> </td> |
421
|
|
|
|
|
|
|
<td> </td> |
422
|
|
|
|
|
|
|
<td> </td> |
423
|
|
|
|
|
|
|
<td style="text-align: right; padding-right: 6px; padding-left: 6px;"><code>1</code>:</td> |
424
|
|
|
|
|
|
|
<td style="padding-left: 12px;">Include [UploadToStratopan].</td> |
425
|
|
|
|
|
|
|
</tr> |
426
|
|
|
|
|
|
|
</table> |
427
|
|
|
|
|
|
|
|
428
|
|
|
|
|
|
|
<p></p> |
429
|
|
|
|
|
|
|
|
430
|
|
|
|
|
|
|
=end HTML |
431
|
|
|
|
|
|
|
|
432
|
|
|
|
|
|
|
=begin markdown |
433
|
|
|
|
|
|
|
|
434
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
435
|
|
|
|
|
|
|
<tr> |
436
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Int">Int</a></td> |
437
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>0</code></td> |
438
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">read/write</td> |
439
|
|
|
|
|
|
|
<td style="text-align: right; padding-right: 6px; padding-left: 6px;"><code>1</code>:</td> |
440
|
|
|
|
|
|
|
<td style="padding-left: 12px;">Include [UploadToStratopan].</td> |
441
|
|
|
|
|
|
|
</tr> |
442
|
|
|
|
|
|
|
</table> |
443
|
|
|
|
|
|
|
|
444
|
|
|
|
|
|
|
<p></p> |
445
|
|
|
|
|
|
|
|
446
|
|
|
|
|
|
|
=end markdown |
447
|
|
|
|
|
|
|
|
448
|
|
|
|
|
|
|
=head2 is_task |
449
|
|
|
|
|
|
|
|
450
|
|
|
|
|
|
|
=begin HTML |
451
|
|
|
|
|
|
|
|
452
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
453
|
|
|
|
|
|
|
<tr> |
454
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Bool">Bool</a></td> |
455
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>0</code></td> |
456
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td> |
457
|
|
|
|
|
|
|
</tr> |
458
|
|
|
|
|
|
|
</table> |
459
|
|
|
|
|
|
|
|
460
|
|
|
|
|
|
|
<p>If set to a true value it will include [TaskWeaver] instead of [PodWeaver].</p> |
461
|
|
|
|
|
|
|
|
462
|
|
|
|
|
|
|
=end HTML |
463
|
|
|
|
|
|
|
|
464
|
|
|
|
|
|
|
=begin markdown |
465
|
|
|
|
|
|
|
|
466
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
467
|
|
|
|
|
|
|
<tr> |
468
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Bool">Bool</a></td> |
469
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>0</code></td> |
470
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td> |
471
|
|
|
|
|
|
|
</tr> |
472
|
|
|
|
|
|
|
</table> |
473
|
|
|
|
|
|
|
|
474
|
|
|
|
|
|
|
<p>If set to a true value it will include [TaskWeaver] instead of [PodWeaver].</p> |
475
|
|
|
|
|
|
|
|
476
|
|
|
|
|
|
|
=end markdown |
477
|
|
|
|
|
|
|
|
478
|
|
|
|
|
|
|
=head2 main_module |
479
|
|
|
|
|
|
|
|
480
|
|
|
|
|
|
|
=begin HTML |
481
|
|
|
|
|
|
|
|
482
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
483
|
|
|
|
|
|
|
<tr> |
484
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a></td> |
485
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>The package name</code></td> |
486
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td> |
487
|
|
|
|
|
|
|
</tr> |
488
|
|
|
|
|
|
|
</table> |
489
|
|
|
|
|
|
|
|
490
|
|
|
|
|
|
|
<p>Override this attribute when there's more than one config in a distribution. It uses the main_module's sharedir location for the config files.</p> |
491
|
|
|
|
|
|
|
|
492
|
|
|
|
|
|
|
=end HTML |
493
|
|
|
|
|
|
|
|
494
|
|
|
|
|
|
|
=begin markdown |
495
|
|
|
|
|
|
|
|
496
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
497
|
|
|
|
|
|
|
<tr> |
498
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a></td> |
499
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>The package name</code></td> |
500
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td> |
501
|
|
|
|
|
|
|
</tr> |
502
|
|
|
|
|
|
|
</table> |
503
|
|
|
|
|
|
|
|
504
|
|
|
|
|
|
|
<p>Override this attribute when there's more than one config in a distribution. It uses the main_module's sharedir location for the config files.</p> |
505
|
|
|
|
|
|
|
|
506
|
|
|
|
|
|
|
=end markdown |
507
|
|
|
|
|
|
|
|
508
|
|
|
|
|
|
|
=head2 splint |
509
|
|
|
|
|
|
|
|
510
|
|
|
|
|
|
|
=begin HTML |
511
|
|
|
|
|
|
|
|
512
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
513
|
|
|
|
|
|
|
<tr> |
514
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Int">Int</a></td> |
515
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>0</code></td> |
516
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">read/write</td> |
517
|
|
|
|
|
|
|
<td style="text-align: right; padding-right: 6px; padding-left: 6px;"><code>0</code>:</td> |
518
|
|
|
|
|
|
|
<td style="padding-left: 12px;">Exclude Pod::Elemental::Transformer::Splint from weaver.ini</td> |
519
|
|
|
|
|
|
|
</tr> |
520
|
|
|
|
|
|
|
<tr> |
521
|
|
|
|
|
|
|
<td> </td> |
522
|
|
|
|
|
|
|
<td> </td> |
523
|
|
|
|
|
|
|
<td> </td> |
524
|
|
|
|
|
|
|
<td style="text-align: right; padding-right: 6px; padding-left: 6px;"><code>1</code>:</td> |
525
|
|
|
|
|
|
|
<td style="padding-left: 12px;">Include Pod::Elemental::Transformer::Splint in weaver.ini</td> |
526
|
|
|
|
|
|
|
</tr> |
527
|
|
|
|
|
|
|
</table> |
528
|
|
|
|
|
|
|
|
529
|
|
|
|
|
|
|
<p></p> |
530
|
|
|
|
|
|
|
|
531
|
|
|
|
|
|
|
=end HTML |
532
|
|
|
|
|
|
|
|
533
|
|
|
|
|
|
|
=begin markdown |
534
|
|
|
|
|
|
|
|
535
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
536
|
|
|
|
|
|
|
<tr> |
537
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Int">Int</a></td> |
538
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional, default: <code>0</code></td> |
539
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">read/write</td> |
540
|
|
|
|
|
|
|
<td style="text-align: right; padding-right: 6px; padding-left: 6px;"><code>1</code>:</td> |
541
|
|
|
|
|
|
|
<td style="padding-left: 12px;">Include Pod::Elemental::Transformer::Splint in weaver.ini</td> |
542
|
|
|
|
|
|
|
</tr> |
543
|
|
|
|
|
|
|
</table> |
544
|
|
|
|
|
|
|
|
545
|
|
|
|
|
|
|
<p></p> |
546
|
|
|
|
|
|
|
|
547
|
|
|
|
|
|
|
=end markdown |
548
|
|
|
|
|
|
|
|
549
|
|
|
|
|
|
|
=head1 ENVIRONMENT VARIABLES |
550
|
|
|
|
|
|
|
|
551
|
|
|
|
|
|
|
=head2 FAKE_RELEASE |
552
|
|
|
|
|
|
|
|
553
|
|
|
|
|
|
|
If set to a true value this will include [FakeRelease] and remove either [UploadToCPAN] or [UploadToStratopan]. |
554
|
|
|
|
|
|
|
|
555
|
|
|
|
|
|
|
=head1 SOURCE |
556
|
|
|
|
|
|
|
|
557
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Dist-Iller-Config-Author-CSSON> |
558
|
|
|
|
|
|
|
|
559
|
|
|
|
|
|
|
=head1 HOMEPAGE |
560
|
|
|
|
|
|
|
|
561
|
|
|
|
|
|
|
L<https://metacpan.org/release/Dist-Iller-Config-Author-CSSON> |
562
|
|
|
|
|
|
|
|
563
|
|
|
|
|
|
|
=head1 AUTHOR |
564
|
|
|
|
|
|
|
|
565
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
566
|
|
|
|
|
|
|
|
567
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
568
|
|
|
|
|
|
|
|
569
|
|
|
|
|
|
|
This software is copyright (c) 2016 by Erik Carlsson. |
570
|
|
|
|
|
|
|
|
571
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
572
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
573
|
|
|
|
|
|
|
|
574
|
|
|
|
|
|
|
=cut |