Dist/Dzpl/Plugin/Hook/FilePruner.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
prune_files
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Dist::Dzpl::Plugin::Hook::FilePruner;
2  
3 use Moose;
4 with qw/ Dist::Zilla::Role::FilePruner /;
5  
6 has callback => qw/ is ro required 1 isa CodeRef /;
7  
8 sub prune_files {
9 my $self = shift;
10 return $self->callback->( $self->zilla, $self );
11 }
12  
13 __PACKAGE__->meta->make_immutable;
14 no Moose;
15 1;