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             # ABSTRACT: something used as a delegating agent during 'dzil run'
2              
3             use Moose::Role;
4 14     14   7949 with 'Dist::Zilla::Role::Plugin';
  14         43  
  14         149  
5              
6             use Dist::Zilla::Pragmas;
7 14     14   73024  
  14         40  
  14         106  
8             use namespace::autoclean;
9 14     14   117  
  14         35  
  14         95  
10             #pod =head1 DESCRIPTION
11             #pod
12             #pod Plugins implementing this role have their C<build> method called during
13             #pod C<dzil run>. It's passed the root directory of the build test dir.
14             #pod
15             #pod =head1 REQUIRED METHODS
16             #pod
17             #pod =head2 build
18             #pod
19             #pod This method will throw an exception on failure.
20             #pod
21             #pod =cut
22              
23             requires 'build';
24              
25             1;
26              
27              
28             =pod
29              
30             =encoding UTF-8
31              
32             =head1 NAME
33              
34             Dist::Zilla::Role::BuildRunner - something used as a delegating agent during 'dzil run'
35              
36             =head1 VERSION
37              
38             version 6.028
39              
40             =head1 DESCRIPTION
41              
42             Plugins implementing this role have their C<build> method called during
43             C<dzil run>. It's passed the root directory of the build test dir.
44              
45             =head1 PERL VERSION
46              
47             This module should work on any version of perl still receiving updates from
48             the Perl 5 Porters. This means it should work on any version of perl released
49             in the last two to three years. (That is, if the most recently released
50             version is v5.40, then this module should work on both v5.40 and v5.38.)
51              
52             Although it may work on older versions of perl, no guarantee is made that the
53             minimum required version will not be increased. The version may be increased
54             for any reason, and there is no promise that patches will be accepted to lower
55             the minimum required perl.
56              
57             =head1 REQUIRED METHODS
58              
59             =head2 build
60              
61             This method will throw an exception on failure.
62              
63             =head1 AUTHOR
64              
65             Ricardo SIGNES 😏 <cpan@semiotic.systems>
66              
67             =head1 COPYRIGHT AND LICENSE
68              
69             This software is copyright (c) 2022 by Ricardo SIGNES.
70              
71             This is free software; you can redistribute it and/or modify it under
72             the same terms as the Perl 5 programming language system itself.
73              
74             =cut