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             package Dist::Zilla::Role::FilePruner 6.037;
2             # ABSTRACT: something that removes found files from the distribution
3              
4 10     10   6347 use Moose::Role;
  10         43  
  10         98  
5             with 'Dist::Zilla::Role::Plugin';
6              
7 10     10   52990 use Dist::Zilla::Pragmas;
  10         37  
  10         85  
8              
9 10     10   77 use namespace::autoclean;
  10         20  
  10         108  
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.037
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
49             released in the last two to three years. (That is, if the most recently
50             released version is v5.40, then this module should work on both v5.40 and
51             v5.38.)
52              
53             Although it may work on older versions of perl, no guarantee is made that the
54             minimum required version will not be increased. The version may be increased
55             for any reason, and there is no promise that patches will be accepted to
56             lower the minimum required perl.
57              
58             =head1 AUTHOR
59              
60             Ricardo SIGNES 😏 <cpan@semiotic.systems>
61              
62             =head1 COPYRIGHT AND LICENSE
63              
64             This software is copyright (c) 2026 by Ricardo SIGNES.
65              
66             This is free software; you can redistribute it and/or modify it under
67             the same terms as the Perl 5 programming language system itself.
68              
69             =cut