line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::BrewBuild::Constant; |
2
|
35
|
|
|
35
|
|
202
|
use strict; |
|
35
|
|
|
|
|
69
|
|
|
35
|
|
|
|
|
880
|
|
3
|
35
|
|
|
35
|
|
391
|
use warnings; |
|
35
|
|
|
|
|
59
|
|
|
35
|
|
|
|
|
1412
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '2.22'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
require Exporter; |
8
|
35
|
|
|
35
|
|
171
|
use base qw( Exporter ); |
|
35
|
|
|
|
|
58
|
|
|
35
|
|
|
|
|
6453
|
|
9
|
|
|
|
|
|
|
our @EXPORT_OK = (); |
10
|
|
|
|
|
|
|
our %EXPORT_TAGS = (all => \@EXPORT_OK); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use constant { |
13
|
35
|
|
|
|
|
5479
|
INSTANCE_INSTALL_TIMEOUT => 600, |
14
|
|
|
|
|
|
|
MIN_PERL_VER => '5.8.1', |
15
|
|
|
|
|
|
|
REPO_PREFIX => 'https://github.com/', |
16
|
|
|
|
|
|
|
BERRYBREW_LINK => 'https://github.com/stevieb9/berrybrew', |
17
|
|
|
|
|
|
|
PERLBREW_LINK => 'http://perlbrew.pl', |
18
|
|
|
|
|
|
|
BERRYBREW => 'berrybrew.exe', |
19
|
|
|
|
|
|
|
PERLBREW => 'perlbrew', |
20
|
35
|
|
|
35
|
|
270
|
}; |
|
35
|
|
|
|
|
71
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
{ |
23
|
|
|
|
|
|
|
my @const = qw( |
24
|
|
|
|
|
|
|
INSTANCE_INSTALL_TIMEOUT |
25
|
|
|
|
|
|
|
MIN_PERL_VER |
26
|
|
|
|
|
|
|
REPO_PREFIX |
27
|
|
|
|
|
|
|
BERRYBREW_LINK |
28
|
|
|
|
|
|
|
PERLBREW_LINK |
29
|
|
|
|
|
|
|
BERRYBREW |
30
|
|
|
|
|
|
|
PERLBREW |
31
|
|
|
|
|
|
|
); |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
push @EXPORT_OK, @const; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
1; |