line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Minilla::Profile::ModuleBuildTiny; |
2
|
1
|
|
|
1
|
|
946
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
28
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
59
|
|
4
|
1
|
|
|
1
|
|
7
|
use utf8; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
17
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
44
|
use parent qw(Minilla::Profile::Base); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
15
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
81
|
use File::Spec::Functions qw(catfile); |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
58
|
|
9
|
1
|
|
|
1
|
|
6
|
use File::Path qw(mkpath); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
54
|
|
10
|
1
|
|
|
1
|
|
8
|
use File::Basename qw(dirname); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
62
|
|
11
|
1
|
|
|
1
|
|
7
|
use CPAN::Meta; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
34
|
|
12
|
1
|
|
|
1
|
|
6
|
use Data::Section::Simple qw(get_data_section); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
58
|
|
13
|
1
|
|
|
1
|
|
11
|
use File::pushd; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
43
|
|
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
7
|
use Minilla::License::Perl_5; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
182
|
|
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__ |