blib/lib/Dist/Zilla/Role/InstallTool.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Dist/Zilla/Role/FilePruner.pm ↑ Summary blib/lib/Dist/Zilla/Role/LicenseProvider.pm »
1 package Dist::Zilla::Role::InstallTool 6.040;
2 # ABSTRACT: something that creates an install program for a dist
3  
4 14 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 14 with qw(
6 Dist::Zilla::Role::Plugin
7 Dist::Zilla::Role::FileInjector
8 );
9  
10 14 ▶use Dist::Zilla::Pragmas;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 14 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 #pod =head1 DESCRIPTION
15 #pod
16 #pod Plugins implementing InstallTool have their C<setup_installer> method called to
17 #pod inject files after all other file injection and munging has taken place.
18 #pod They're expected to produce files needed to make the distribution
19 #pod installable, like F<Makefile.PL> or F<Build.PL> and add them with the
20 #pod C<add_file> method provided by L<Dist::Zilla::Role::FileInjector>, which is
21 #pod also composed by this role.
22 #pod
23 #pod =cut
24  
25 14 requires 'setup_installer';
26  
27 14 1;
28  
29 __END__
« blib/lib/Dist/Zilla/Role/FilePruner.pm ↑ Summary blib/lib/Dist/Zilla/Role/LicenseProvider.pm »