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.037;
2             # ABSTRACT: something that runs after building is mostly complete
3              
4 1     1   2324 use Moose::Role;
  1         3  
  1         11  
5             with 'Dist::Zilla::Role::Plugin';
6              
7 1     1   9319 use Dist::Zilla::Pragmas;
  1         3  
  1         9  
8              
9 1     1   8 use namespace::autoclean;
  1         2  
  1         10  
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.037
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
51             released in the last two to three years. (That is, if the most recently
52             released version is v5.40, then this module should work on both v5.40 and
53             v5.38.)
54              
55             Although it may work on older versions of perl, no guarantee is made that the
56             minimum required version will not be increased. The version may be increased
57             for any reason, and there is no promise that patches will be accepted to
58             lower the minimum required perl.
59              
60             =head1 AUTHOR
61              
62             Ricardo SIGNES 😏 <cpan@semiotic.systems>
63              
64             =head1 COPYRIGHT AND LICENSE
65              
66             This software is copyright (c) 2026 by Ricardo SIGNES.
67              
68             This is free software; you can redistribute it and/or modify it under
69             the same terms as the Perl 5 programming language system itself.
70              
71             =cut