line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Module::Build::Capo; |
2
|
1
|
|
|
1
|
|
109055
|
use Module::Build; |
|
1
|
|
|
|
|
9
|
|
|
1
|
|
|
|
|
465
|
|
3
|
|
|
|
|
|
|
@ISA = qw(Module::Build); |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
14574
|
use ExtUtils::Install qw(); |
|
1
|
|
|
|
|
62050
|
|
|
1
|
|
|
|
|
469
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub ACTION_dist { |
8
|
0
|
|
|
0
|
0
|
|
my ($self) = @_; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# be sure we make RELEASE_TESTING=1 on Build dist |
12
|
|
|
|
|
|
|
{ |
13
|
0
|
|
|
|
|
|
local $ENV{RELEASE_TESTING} = 1; |
|
0
|
|
|
|
|
|
|
14
|
0
|
|
|
|
|
|
$self->dispatch('test'); |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
0
|
|
|
|
|
|
$self->SUPER::ACTION_dist; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub ACTION_install { |
21
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
22
|
|
|
|
|
|
|
|
23
|
0
|
|
0
|
|
|
|
my $target = $self->destdir || $self->install_base || '/tmp'; |
24
|
|
|
|
|
|
|
|
25
|
0
|
|
|
|
|
|
my %my_install_map = |
26
|
0
|
|
|
|
|
|
map { $_ => "$target/$_" } @{ $self->notes('dirs') }; |
|
0
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
# 'read' key needed by newer versions of ExtUtils::install |
29
|
|
|
|
|
|
|
# set it with dummy value to silence warnings |
30
|
0
|
|
|
|
|
|
$my_install_map{read} = ''; |
31
|
|
|
|
|
|
|
|
32
|
0
|
|
|
|
|
|
ExtUtils::Install::install( \%my_install_map, $self->verbose, 0); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub ACTION_fakeinstall { |
36
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
37
|
|
|
|
|
|
|
|
38
|
0
|
|
0
|
|
|
|
my $target = $self->destdir || $self->install_base || '/tmp'; |
39
|
|
|
|
|
|
|
|
40
|
0
|
|
|
|
|
|
my %my_install_map = |
41
|
0
|
|
|
|
|
|
map { $_ => "$target/$_" } @{ $self->notes('dirs') }; |
|
0
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
# 'read' key needed by newer versions of ExtUtils::install |
44
|
|
|
|
|
|
|
# set it with dummy value to silence warnings |
45
|
0
|
|
|
|
|
|
$my_install_map{read} = ''; |
46
|
|
|
|
|
|
|
|
47
|
0
|
|
|
|
|
|
ExtUtils::Install::install( \%my_install_map, !$self->quiet, 1); |
48
|
|
|
|
|
|
|
} |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
sub ACTION_uulmfiles { |
51
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
52
|
|
|
|
|
|
|
|
53
|
0
|
|
|
|
|
|
my $src = $self->current_action; |
54
|
|
|
|
|
|
|
|
55
|
0
|
|
|
|
|
|
my $target = |
56
|
|
|
|
|
|
|
$self->dist_name . '-' . $src . '-' . $self->dist_version; |
57
|
|
|
|
|
|
|
|
58
|
0
|
|
|
|
|
|
$self->make_tarball( $src, $target ); |
59
|
|
|
|
|
|
|
} |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
1; |