line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CPANPLUS::Dist::Build::Constants; |
2
|
|
|
|
|
|
|
$CPANPLUS::Dist::Build::Constants::VERSION = '0.88'; |
3
|
|
|
|
|
|
|
#ABSTRACT: Constants for CPANPLUS::Dist::Build |
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
597
|
use if $] > 5.017, 'deprecate'; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
16
|
|
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
283
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
46
|
|
8
|
2
|
|
|
2
|
|
9
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
50
|
|
9
|
2
|
|
|
2
|
|
12
|
use File::Spec; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
77
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
BEGIN { |
12
|
|
|
|
|
|
|
|
13
|
2
|
|
|
2
|
|
30
|
require Exporter; |
14
|
2
|
|
|
2
|
|
15
|
use vars qw[@ISA @EXPORT]; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
168
|
|
15
|
|
|
|
|
|
|
|
16
|
2
|
|
|
|
|
23
|
@ISA = qw[Exporter]; |
17
|
2
|
|
|
|
|
98
|
@EXPORT = qw[ BUILD_DIR BUILD CPDB_PERL_WRAPPER]; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
use constant BUILD_DIR => sub { return @_ |
22
|
0
|
0
|
|
|
|
0
|
? File::Spec->catdir($_[0], '_build') |
23
|
|
|
|
|
|
|
: '_build'; |
24
|
2
|
|
|
2
|
|
11
|
}; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
273
|
|
25
|
15
|
50
|
|
|
|
329
|
use constant BUILD => sub { my $file = @_ |
26
|
|
|
|
|
|
|
? File::Spec->catfile($_[0], 'Build') |
27
|
|
|
|
|
|
|
: 'Build'; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
### on VMS, '.com' is appended when |
30
|
|
|
|
|
|
|
### creating the Build file |
31
|
15
|
50
|
|
|
|
194
|
$file .= '.com' if $^O eq 'VMS'; |
32
|
|
|
|
|
|
|
|
33
|
15
|
|
|
|
|
238
|
return $file; |
34
|
2
|
|
|
2
|
|
12
|
}; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
91
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
2
|
|
|
2
|
|
11
|
use constant CPDB_PERL_WRAPPER => 'use strict; BEGIN { my $old = select STDERR; $|++; select $old; $|++; $0 = shift(@ARGV); my $rv = do($0); die $@ if $@; }'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
84
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
1; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
# Local variables: |
43
|
|
|
|
|
|
|
# c-indentation-style: bsd |
44
|
|
|
|
|
|
|
# c-basic-offset: 4 |
45
|
|
|
|
|
|
|
# indent-tabs-mode: nil |
46
|
|
|
|
|
|
|
# End: |
47
|
|
|
|
|
|
|
# vim: expandtab shiftwidth=4: |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
__END__ |