line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::BrewBuild::Constant; |
2
|
35
|
|
|
35
|
|
226
|
use strict; |
|
35
|
|
|
|
|
67
|
|
|
35
|
|
|
|
|
858
|
|
3
|
35
|
|
|
35
|
|
140
|
use warnings; |
|
35
|
|
|
|
|
65
|
|
|
35
|
|
|
|
|
1315
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '2.20'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
require Exporter; |
8
|
35
|
|
|
35
|
|
159
|
use base qw( Exporter ); |
|
35
|
|
|
|
|
61
|
|
|
35
|
|
|
|
|
5936
|
|
9
|
|
|
|
|
|
|
our @EXPORT_OK = (); |
10
|
|
|
|
|
|
|
our %EXPORT_TAGS = (all => \@EXPORT_OK); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use constant { |
13
|
35
|
|
|
|
|
4676
|
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
|
|
564
|
}; |
|
35
|
|
|
|
|
78
|
|
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; |