File Coverage

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