blib/lib/Dist/Zilla/Plugin/ExecDir.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 16 / 16 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/MVP/Reader/Finder.pm ↑ Summary blib/lib/Dist/Zilla/Role/AfterBuild.pm »
1 package Dist::Zilla::Plugin::ExecDir 6.040;
2 # ABSTRACT: install a directory's contents as executables
3  
4 17 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 17 ▶use Dist::Zilla::Pragmas;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 17 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 #pod =head1 SYNOPSIS
11 #pod
12 #pod In your F<dist.ini>:
13 #pod
14 #pod [ExecDir]
15 #pod dir = scripts
16 #pod
17 #pod If no C<dir> is provided, the default is F<bin>.
18 #pod
19 #pod =cut
20  
21 17 has dir => (
22 is => 'ro',
23 isa => 'Str',
24 default => 'bin',
25 );
26  
27 17 with 'Dist::Zilla::Role::ExecFiles';
28 17 __PACKAGE__->meta->make_immutable;
29 17 1;
30  
31 __END__
« blib/lib/Dist/Zilla/MVP/Reader/Finder.pm ↑ Summary blib/lib/Dist/Zilla/Role/AfterBuild.pm »