line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Dist::Zilla::MintingProfile::Author::Plicease 2.73 { |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
6363
|
use 5.020; |
|
1
|
|
|
|
|
4
|
|
4
|
1
|
|
|
1
|
|
543
|
use Moose; |
|
1
|
|
|
|
|
478745
|
|
|
1
|
|
|
|
|
6
|
|
5
|
|
|
|
|
|
|
with qw( Dist::Zilla::Role::MintingProfile ); |
6
|
1
|
|
|
1
|
|
8158
|
use namespace::autoclean; |
|
1
|
|
|
|
|
8866
|
|
|
1
|
|
|
|
|
4
|
|
7
|
1
|
|
|
1
|
|
564
|
use File::ShareDir::Dist (); |
|
1
|
|
|
|
|
1113
|
|
|
1
|
|
|
|
|
34
|
|
8
|
1
|
|
|
1
|
|
951
|
use Path::Tiny (); |
|
1
|
|
|
|
|
13708
|
|
|
1
|
|
|
|
|
37
|
|
9
|
1
|
|
|
1
|
|
9
|
use Carp (); |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
144
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# ABSTRACT: Minting profile for Plicease |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub profile_dir |
15
|
|
|
|
|
|
|
{ |
16
|
|
|
|
|
|
|
my($self, $profile_name) = @_; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
# use a dist share instead of a class share |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
require Dist::Zilla::Plugin::Author::Plicease; |
21
|
|
|
|
|
|
|
my $dir1 = Dist::Zilla::Plugin::Author::Plicease->dist_dir; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
my $dir2 = defined $profile_name |
24
|
|
|
|
|
|
|
? $dir1->child("profiles/$profile_name") |
25
|
|
|
|
|
|
|
: $dir1->child("profiles"); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
return $dir2 if -d $dir2; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Carp::confess "Can't find profile $profile_name via $self"; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__END__ |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=pod |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=encoding UTF-8 |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 NAME |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Dist::Zilla::MintingProfile::Author::Plicease - Minting profile for Plicease |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 VERSION |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
version 2.73 |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 SYNOPSIS |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
dzil new -P Author::Plicease Module::Name |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 DESCRIPTION |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
This is the normal minting profile used by Plicease. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 AUTHOR |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Graham Ollis <plicease@cpan.org> |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
This software is copyright (c) 2012-2022 by Graham Ollis. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
68
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=cut |