File Coverage

blib/lib/Dist/Zilla/Role/AfterMint.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 runs after minting is mostly complete
2              
3             use Moose::Role;
4 1     1   2288 with 'Dist::Zilla::Role::Plugin';
  1         2  
  1         13  
5              
6             use Dist::Zilla::Pragmas;
7 1     1   5781  
  1         3  
  1         11  
8             use namespace::autoclean;
9 1     1   8  
  1         3  
  1         10  
10             #pod =head1 DESCRIPTION
11             #pod
12             #pod Plugins implementing this role have their C<after_mint> method called once all
13             #pod the files have been written out. It is passed a hashref with the following
14             #pod data:
15             #pod
16             #pod mint_root - the directory in which the dist was minted
17             #pod
18             #pod =cut
19              
20             requires 'after_mint';
21              
22             1;
23              
24              
25             =pod
26              
27             =encoding UTF-8
28              
29             =head1 NAME
30              
31             Dist::Zilla::Role::AfterMint - something that runs after minting is mostly complete
32              
33             =head1 VERSION
34              
35             version 6.028
36              
37             =head1 DESCRIPTION
38              
39             Plugins implementing this role have their C<after_mint> method called once all
40             the files have been written out. It is passed a hashref with the following
41             data:
42              
43             mint_root - the directory in which the dist was minted
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