File Coverage

blib/lib/Dist/Zilla/Role/FilePruner.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             # ABSTRACT: something that removes found files from the distribution
2              
3             use Moose::Role;
4 10     10   5490 with 'Dist::Zilla::Role::Plugin';
  10         25  
  10         101  
5              
6             use Dist::Zilla::Pragmas;
7 10     10   51226  
  10         32  
  10         79  
8             use namespace::autoclean;
9 10     10   72  
  10         25  
  10         66  
10             #pod =head1 DESCRIPTION
11             #pod
12             #pod Plugins implementing FilePruner have their C<prune_files> method called once
13             #pod all the L<FileGatherer|Dist::Zilla::Role::FileGatherer> plugins have been
14             #pod called. They are expected to (optionally) remove files from the list of files
15             #pod to be included in the distribution.
16             #pod
17             #pod =cut
18              
19             requires 'prune_files';
20              
21             1;
22              
23              
24             =pod
25              
26             =encoding UTF-8
27              
28             =head1 NAME
29              
30             Dist::Zilla::Role::FilePruner - something that removes found files from the distribution
31              
32             =head1 VERSION
33              
34             version 6.028
35              
36             =head1 DESCRIPTION
37              
38             Plugins implementing FilePruner have their C<prune_files> method called once
39             all the L<FileGatherer|Dist::Zilla::Role::FileGatherer> plugins have been
40             called. They are expected to (optionally) remove files from the list of files
41             to be included in the distribution.
42              
43             =head1 PERL VERSION
44              
45             This module should work on any version of perl still receiving updates from
46             the Perl 5 Porters. This means it should work on any version of perl released
47             in the last two to three years. (That is, if the most recently released
48             version is v5.40, then this module should work on both v5.40 and v5.38.)
49              
50             Although it may work on older versions of perl, no guarantee is made that the
51             minimum required version will not be increased. The version may be increased
52             for any reason, and there is no promise that patches will be accepted to lower
53             the minimum required perl.
54              
55             =head1 AUTHOR
56              
57             Ricardo SIGNES 😏 <cpan@semiotic.systems>
58              
59             =head1 COPYRIGHT AND LICENSE
60              
61             This software is copyright (c) 2022 by Ricardo SIGNES.
62              
63             This is free software; you can redistribute it and/or modify it under
64             the same terms as the Perl 5 programming language system itself.
65              
66             =cut