line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Minilla::Profile::ExtUtilsMakeMaker; |
2
|
1
|
|
|
1
|
|
975
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
3
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
4
|
1
|
|
|
1
|
|
6
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
45
|
use parent qw(Minilla::Profile::Base); |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
6
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
73
|
use File::Spec::Functions qw(catfile); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
61
|
|
9
|
1
|
|
|
1
|
|
6
|
use File::Path qw(mkpath); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
49
|
|
10
|
1
|
|
|
1
|
|
6
|
use File::Basename qw(dirname); |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
49
|
|
11
|
1
|
|
|
1
|
|
7
|
use CPAN::Meta; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
33
|
|
12
|
1
|
|
|
1
|
|
6
|
use Data::Section::Simple qw(get_data_section); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
53
|
|
13
|
1
|
|
|
1
|
|
6
|
use File::pushd; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
43
|
|
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
6
|
use Minilla::License::Perl_5; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
163
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub generate { |
18
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
|
|
|
$self->render('Module.pm', catfile('lib', $self->path)); |
21
|
|
|
|
|
|
|
|
22
|
0
|
|
|
|
|
|
$self->render('Changes'); |
23
|
0
|
|
|
|
|
|
$self->render('t/00_compile.t'); |
24
|
0
|
|
|
|
|
|
$self->render('github_actions_test.yml', catfile('.github', 'workflows', 'test.yml')); |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
|
|
|
$self->render('.gitignore'); |
27
|
0
|
|
|
|
|
|
$self->write_file('LICENSE', Minilla::License::Perl_5->new( |
28
|
|
|
|
|
|
|
holder => sprintf('%s <%s>', $self->author, $self->email) |
29
|
|
|
|
|
|
|
)->fulltext); |
30
|
|
|
|
|
|
|
|
31
|
0
|
|
|
|
|
|
$self->render('cpanfile'); |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
__DATA__ |