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