line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Minilla::Profile::ModuleBuild; |
2
|
1
|
|
|
1
|
|
932
|
use strict; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
28
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
22
|
|
4
|
1
|
|
|
1
|
|
6
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
25
|
use parent qw(Minilla::Profile::Base); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
59
|
use File::Spec::Functions qw(catfile); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
54
|
|
9
|
1
|
|
|
1
|
|
6
|
use File::Path qw(mkpath); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
51
|
|
10
|
1
|
|
|
1
|
|
7
|
use File::Basename qw(dirname); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
49
|
|
11
|
1
|
|
|
1
|
|
7
|
use CPAN::Meta; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
12
|
1
|
|
|
1
|
|
6
|
use Data::Section::Simple qw(get_data_section); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
13
|
1
|
|
|
1
|
|
5
|
use File::pushd; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
63
|
|
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
6
|
use Minilla::License::Perl_5; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
151
|
|
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__ |