line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: something that bundles a bunch of plugins |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
use Moose::Role; |
4
|
11
|
|
|
11
|
|
6440
|
|
|
11
|
|
|
|
|
43
|
|
|
11
|
|
|
|
|
130
|
|
5
|
|
|
|
|
|
|
use Dist::Zilla::Pragmas; |
6
|
11
|
|
|
11
|
|
56570
|
|
|
11
|
|
|
|
|
68
|
|
|
11
|
|
|
|
|
320
|
|
7
|
|
|
|
|
|
|
use namespace::autoclean; |
8
|
11
|
|
|
11
|
|
84
|
|
|
11
|
|
|
|
|
29
|
|
|
11
|
|
|
|
|
71
|
|
9
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
10
|
|
|
|
|
|
|
#pod |
11
|
|
|
|
|
|
|
#pod When loading configuration, if the config reader encounters a PluginBundle, it |
12
|
|
|
|
|
|
|
#pod will replace its place in the plugin list with the result of calling its |
13
|
|
|
|
|
|
|
#pod C<bundle_config> method, which will be passed a Config::MVP::Section to |
14
|
|
|
|
|
|
|
#pod configure the bundle. |
15
|
|
|
|
|
|
|
#pod |
16
|
|
|
|
|
|
|
#pod =cut |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
my ($class, $name, $arg, $self) = @_; |
19
|
|
|
|
|
|
|
# ... we should register a placeholder so MetaConfig can tell us about the |
20
|
10
|
|
|
10
|
0
|
53
|
# pluginbundle that was loaded |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
requires 'bundle_config'; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=pod |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=encoding UTF-8 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 NAME |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Dist::Zilla::Role::PluginBundle - something that bundles a bunch of plugins |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 VERSION |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
version 6.028 |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 DESCRIPTION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
When loading configuration, if the config reader encounters a PluginBundle, it |
43
|
|
|
|
|
|
|
will replace its place in the plugin list with the result of calling its |
44
|
|
|
|
|
|
|
C<bundle_config> method, which will be passed a Config::MVP::Section to |
45
|
|
|
|
|
|
|
configure the bundle. |
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) 2022 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 |