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