File Coverage

blib/lib/Dist/Zilla/Role/BeforeArchive.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::BeforeArchive 6.029;
2             # ABSTRACT: something that runs before the archive file is built
3              
4 1     1   966 use Moose::Role;
  1         4  
  1         7  
5             with 'Dist::Zilla::Role::Plugin';
6              
7 1     1   5150 use Dist::Zilla::Pragmas;
  1         4  
  1         7  
8              
9 1     1   8 use namespace::autoclean;
  1         8  
  1         6  
10              
11             #pod =head1 DESCRIPTION
12             #pod
13             #pod Plugins implementing this role have their C<before_archive> method
14             #pod called before the archive is actually built.
15             #pod
16             #pod =cut
17              
18             requires 'before_archive';
19              
20             1;
21              
22             __END__
23              
24             =pod
25              
26             =encoding UTF-8
27              
28             =head1 NAME
29              
30             Dist::Zilla::Role::BeforeArchive - something that runs before the archive file is built
31              
32             =head1 VERSION
33              
34             version 6.029
35              
36             =head1 DESCRIPTION
37              
38             Plugins implementing this role have their C<before_archive> method
39             called before the archive is actually built.
40              
41             =head1 PERL VERSION
42              
43             This module should work on any version of perl still receiving updates from
44             the Perl 5 Porters. This means it should work on any version of perl released
45             in the last two to three years. (That is, if the most recently released
46             version is v5.40, then this module should work on both v5.40 and v5.38.)
47              
48             Although it may work on older versions of perl, no guarantee is made that the
49             minimum required version will not be increased. The version may be increased
50             for any reason, and there is no promise that patches will be accepted to lower
51             the minimum required perl.
52              
53             =head1 AUTHOR
54              
55             Ricardo SIGNES 😏 <cpan@semiotic.systems>
56              
57             =head1 COPYRIGHT AND LICENSE
58              
59             This software is copyright (c) 2022 by Ricardo SIGNES.
60              
61             This is free software; you can redistribute it and/or modify it under
62             the same terms as the Perl 5 programming language system itself.
63              
64             =cut