line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Alien::Build::Plugin::Core::Override; |
2
|
|
|
|
|
|
|
|
3
|
47
|
|
|
47
|
|
2321
|
use strict; |
|
47
|
|
|
|
|
180
|
|
|
47
|
|
|
|
|
1412
|
|
4
|
47
|
|
|
47
|
|
231
|
use warnings; |
|
47
|
|
|
|
|
97
|
|
|
47
|
|
|
|
|
1085
|
|
5
|
47
|
|
|
47
|
|
698
|
use 5.008004; |
|
47
|
|
|
|
|
152
|
|
6
|
47
|
|
|
47
|
|
701
|
use Alien::Build::Plugin; |
|
47
|
|
|
|
|
169
|
|
|
47
|
|
|
|
|
348
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# ABSTRACT: Core override plugin |
9
|
|
|
|
|
|
|
our $VERSION = '2.45'; # VERSION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub init |
13
|
|
|
|
|
|
|
{ |
14
|
337
|
|
|
337
|
1
|
956
|
my($self, $meta) = @_; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
$meta->default_hook( |
17
|
|
|
|
|
|
|
override => sub { |
18
|
143
|
|
|
143
|
|
383
|
my($build) = @_; |
19
|
143
|
|
100
|
|
|
930
|
return $ENV{ALIEN_INSTALL_TYPE} || ''; |
20
|
|
|
|
|
|
|
}, |
21
|
337
|
|
|
|
|
2259
|
); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |