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.037;
2             # ABSTRACT: something used as a delegating agent during 'dzil run'
3              
4 14     14   9453 use Moose::Role;
  14         35  
  14         156  
5             with 'Dist::Zilla::Role::Plugin';
6              
7 14     14   85632 use Dist::Zilla::Pragmas;
  14         51  
  14         125  
8              
9 14     14   108 use namespace::autoclean;
  14         34  
  14         134  
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.037
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
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 REQUIRED METHODS
61              
62             =head2 build
63              
64             This method will throw an exception on failure.
65              
66             =head1 AUTHOR
67              
68             Ricardo SIGNES 😏 <cpan@semiotic.systems>
69              
70             =head1 COPYRIGHT AND LICENSE
71              
72             This software is copyright (c) 2026 by Ricardo SIGNES.
73              
74             This is free software; you can redistribute it and/or modify it under
75             the same terms as the Perl 5 programming language system itself.
76              
77             =cut