line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: build something more or less like a "classic" CPAN dist |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
use Moose; |
4
|
2
|
|
|
2
|
|
1774
|
extends 'Dist::Zilla::PluginBundle::Classic'; |
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
19
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
use Dist::Zilla::Pragmas; |
7
|
2
|
|
|
2
|
|
14321
|
|
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
22
|
|
8
|
|
|
|
|
|
|
use namespace::autoclean; |
9
|
2
|
|
|
2
|
|
14
|
|
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
21
|
|
10
|
|
|
|
|
|
|
around bundle_config => sub { |
11
|
|
|
|
|
|
|
my ($orig, $self, $arg) = @_; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
my @config = $self->$orig($arg); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
for my $i (0 .. $#config) { |
16
|
|
|
|
|
|
|
if ($config[ $i ][1] eq 'Dist::Zilla::Plugin::UploadToCPAN') { |
17
|
|
|
|
|
|
|
require Dist::Zilla::Plugin::FakeRelease; |
18
|
|
|
|
|
|
|
$config[ $i ] = [ |
19
|
|
|
|
|
|
|
"$arg->{name}/FakeRelease", |
20
|
|
|
|
|
|
|
'Dist::Zilla::Plugin::FakeRelease', |
21
|
|
|
|
|
|
|
$config[ $i ][2] |
22
|
|
|
|
|
|
|
]; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
return @config; |
27
|
|
|
|
|
|
|
}; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=pod |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=encoding UTF-8 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 NAME |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Dist::Zilla::PluginBundle::FakeClassic - build something more or less like a "classic" CPAN dist |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 VERSION |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
version 6.028 |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 PERL VERSION |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
This module should work on any version of perl still receiving updates from |
48
|
|
|
|
|
|
|
the Perl 5 Porters. This means it should work on any version of perl released |
49
|
|
|
|
|
|
|
in the last two to three years. (That is, if the most recently released |
50
|
|
|
|
|
|
|
version is v5.40, then this module should work on both v5.40 and v5.38.) |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
53
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
54
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
55
|
|
|
|
|
|
|
the minimum required perl. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 AUTHOR |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Ricardo SIGNES 😏 <cpan@semiotic.systems> |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Ricardo SIGNES. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
66
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=cut |