forked from GlobalNOC/VCE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
38 lines (31 loc) · 1.01 KB
/
Makefile.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
use strict;
use warnings;
use ExtUtils::MakeMaker;
use Apache::TestMM qw(test clean);
use Apache::TestRunPerl ();
use FindBin;
sub MY::postamble { << 'END'; }
rpm: dist
rpmbuild -ta vce-$(VERSION).tar.gz
TEST_VERBOSE=1
test_jenkins : pure_all
$(FULLPERL) t/TEST $(TEST_VERBOSE)
END
# test_jenkins :
# PERL5OPT=-MDevel::Cover=-db,$FindBin::Bin/cover_db make test PERL_TEST_HARNESS_DUMP_TAP=$FindBin::Bin/tap/
WriteMakefile(
NAME => 'vce',
AUTHOR => 'GRNOC Systems Engineering <[email protected]>',
VERSION_FROM => 'lib/VCE.pm',
PL_FILES => {},
PREREQ_PM => {
'Net::SSH2' => 0
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'vce-*' },
);
push(@ARGV, '-apxs', (-e '/usr/bin/apxs') ? '/usr/bin/apxs' : '/usr/sbin/apxs');
push(@ARGV, '-documentroot', "$FindBin::Bin/www/services/");
push(@ARGV, '-maxclients', 4);
Apache::TestMM::filter_args();
Apache::TestRunPerl->generate_script();