line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: something that gathers files into the distribution |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
use Moose::Role; |
4
|
46
|
|
|
46
|
|
27426
|
with 'Dist::Zilla::Role::Plugin', |
|
46
|
|
|
|
|
130
|
|
|
46
|
|
|
|
|
489
|
|
5
|
|
|
|
|
|
|
'Dist::Zilla::Role::FileInjector'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use Dist::Zilla::Pragmas; |
8
|
46
|
|
|
46
|
|
252425
|
|
|
46
|
|
|
|
|
138
|
|
|
46
|
|
|
|
|
403
|
|
9
|
|
|
|
|
|
|
use namespace::autoclean; |
10
|
46
|
|
|
46
|
|
398
|
|
|
46
|
|
|
|
|
186
|
|
|
46
|
|
|
|
|
391
|
|
11
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
12
|
|
|
|
|
|
|
#pod |
13
|
|
|
|
|
|
|
#pod A FileGatherer plugin is a special sort of |
14
|
|
|
|
|
|
|
#pod L<FileInjector|Dist::Zilla::Role::FileInjector> that runs early in the build |
15
|
|
|
|
|
|
|
#pod cycle, finding files to include in the distribution. It is expected to call |
16
|
|
|
|
|
|
|
#pod its C<add_file> method to add one or more files to inclusion. |
17
|
|
|
|
|
|
|
#pod |
18
|
|
|
|
|
|
|
#pod Plugins implementing FileGatherer must provide a C<gather_files> method, which |
19
|
|
|
|
|
|
|
#pod will be called during the build process. |
20
|
|
|
|
|
|
|
#pod |
21
|
|
|
|
|
|
|
#pod =cut |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
requires 'gather_files'; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=pod |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=encoding UTF-8 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 NAME |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Dist::Zilla::Role::FileGatherer - something that gathers files into the distribution |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 VERSION |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
version 6.028 |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 DESCRIPTION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
A FileGatherer plugin is a special sort of |
43
|
|
|
|
|
|
|
L<FileInjector|Dist::Zilla::Role::FileInjector> that runs early in the build |
44
|
|
|
|
|
|
|
cycle, finding files to include in the distribution. It is expected to call |
45
|
|
|
|
|
|
|
its C<add_file> method to add one or more files to inclusion. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Plugins implementing FileGatherer must provide a C<gather_files> method, which |
48
|
|
|
|
|
|
|
will be called during the build process. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 PERL VERSION |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This module should work on any version of perl still receiving updates from |
53
|
|
|
|
|
|
|
the Perl 5 Porters. This means it should work on any version of perl released |
54
|
|
|
|
|
|
|
in the last two to three years. (That is, if the most recently released |
55
|
|
|
|
|
|
|
version is v5.40, then this module should work on both v5.40 and v5.38.) |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
58
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
59
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
60
|
|
|
|
|
|
|
the minimum required perl. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 AUTHOR |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Ricardo SIGNES 😏 <cpan@semiotic.systems> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Ricardo SIGNES. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
71
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=cut |