File Coverage

blib/lib/Dist/Zilla/Role/BuildRunner.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::BuildRunner 6.030;
2             # ABSTRACT: something used as a delegating agent during 'dzil run'
3              
4 14     14   8623 use Moose::Role;
  14         48  
  14         168  
5             with 'Dist::Zilla::Role::Plugin';
6              
7 14     14   78295 use Dist::Zilla::Pragmas;
  14         39  
  14         105  
8              
9 14     14   159 use namespace::autoclean;
  14         68  
  14         102  
10              
11             #pod =head1 DESCRIPTION
12             #pod
13             #pod Plugins implementing this role have their C<build> method called during
14             #pod C<dzil run>. It's passed the root directory of the build test dir.
15             #pod
16             #pod =head1 REQUIRED METHODS
17             #pod
18             #pod =head2 build
19             #pod
20             #pod This method will throw an exception on failure.
21             #pod
22             #pod =cut
23              
24             requires 'build';
25              
26             1;
27              
28             __END__
29              
30             =pod
31              
32             =encoding UTF-8
33              
34             =head1 NAME
35              
36             Dist::Zilla::Role::BuildRunner - something used as a delegating agent during 'dzil run'
37              
38             =head1 VERSION
39              
40             version 6.030
41              
42             =head1 DESCRIPTION
43              
44             Plugins implementing this role have their C<build> method called during
45             C<dzil run>. It's passed the root directory of the build test dir.
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 REQUIRED METHODS
60              
61             =head2 build
62              
63             This method will throw an exception on failure.
64              
65             =head1 AUTHOR
66              
67             Ricardo SIGNES 😏 <cpan@semiotic.systems>
68              
69             =head1 COPYRIGHT AND LICENSE
70              
71             This software is copyright (c) 2023 by Ricardo SIGNES.
72              
73             This is free software; you can redistribute it and/or modify it under
74             the same terms as the Perl 5 programming language system itself.
75              
76             =cut