Dist/Zilla/MintingProfile/ZURBORG.pm untested

filter: Statementstmt 0.0% 0 / 26 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 36 CC 2 SCAR 11.0
CC
2
Cov
0%
profile_dir
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.0
1 use strictures 2;
2  
3 package Dist::Zilla::MintingProfile::ZURBORG;
4  
5 our $VERSION = '0.007'; # VERSION
6  
7 use Moose;
8  
9 with 'Dist::Zilla::Role::MintingProfile' => { -version => '5.047' };
10  
11 use File::ShareDir;
12 use Path::Tiny;
13 use Carp;
14 use namespace::autoclean;
15  
16 sub profile_dir
17 {
18 my ($self, $profile_name) = @_;
19  
20 my $dist_name = 'Dist-Zilla-PluginBundle-ZURBORG'; # '{{ $dist->name }}';
21  
22 my $profile_dir = path(File::ShareDir::dist_dir($dist_name))->child('profiles', $profile_name);
23  
24 return $profile_dir if -d $profile_dir;
25  
26 confess "Can't find profile $profile_name via $self: it should be in $profile_dir";
27 }
28  
29 __PACKAGE__->meta->make_immutable;
30  
31 __END__