line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Dist::Zilla::Role::FilePruner 6.029; |
2
|
|
|
|
|
|
|
# ABSTRACT: something that removes found files from the distribution |
3
|
|
|
|
|
|
|
|
4
|
10
|
|
|
10
|
|
5936
|
use Moose::Role; |
|
10
|
|
|
|
|
29
|
|
|
10
|
|
|
|
|
127
|
|
5
|
|
|
|
|
|
|
with 'Dist::Zilla::Role::Plugin'; |
6
|
|
|
|
|
|
|
|
7
|
10
|
|
|
10
|
|
56687
|
use Dist::Zilla::Pragmas; |
|
10
|
|
|
|
|
41
|
|
|
10
|
|
|
|
|
85
|
|
8
|
|
|
|
|
|
|
|
9
|
10
|
|
|
10
|
|
88
|
use namespace::autoclean; |
|
10
|
|
|
|
|
40
|
|
|
10
|
|
|
|
|
72
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
12
|
|
|
|
|
|
|
#pod |
13
|
|
|
|
|
|
|
#pod Plugins implementing FilePruner have their C<prune_files> method called once |
14
|
|
|
|
|
|
|
#pod all the L<FileGatherer|Dist::Zilla::Role::FileGatherer> plugins have been |
15
|
|
|
|
|
|
|
#pod called. They are expected to (optionally) remove files from the list of files |
16
|
|
|
|
|
|
|
#pod to be included in the distribution. |
17
|
|
|
|
|
|
|
#pod |
18
|
|
|
|
|
|
|
#pod =cut |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
requires 'prune_files'; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=pod |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=encoding UTF-8 |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 NAME |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Dist::Zilla::Role::FilePruner - something that removes found files from the distribution |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 VERSION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
version 6.029 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 DESCRIPTION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Plugins implementing FilePruner have their C<prune_files> method called once |
41
|
|
|
|
|
|
|
all the L<FileGatherer|Dist::Zilla::Role::FileGatherer> plugins have been |
42
|
|
|
|
|
|
|
called. They are expected to (optionally) remove files from the list of files |
43
|
|
|
|
|
|
|
to be included in the distribution. |
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 |