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