-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile.PL
36 lines (29 loc) · 896 Bytes
/
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
use strict;
use warnings;
use ExtUtils::MakeMaker;
sub MY::postamble { <<'END'; }
venv:
carton install
rpm: venv manifest dist
rpmbuild -ta grnoc-tsds-aggregate-$(VERSION).tar.gz
END
sub MY::test
{
q(
TEST_VERBOSE=1
test : pure_all
$(FULLPERL) t/TEST $(TEST_VERBOSE)
test_jenkins : pure_all
$(FULLPERL) t/TEST $(TEST_VERBOSE) --formatter=TAP::Formatter::Console
);
}
WriteMakefile(
NAME => 'grnoc-tsds-aggregate',
AUTHOR => 'GRNOC Software Engineering <[email protected]>',
VERSION_FROM => 'lib/GRNOC/TSDS/Aggregate.pm',
PL_FILES => {},
PREREQ_PM => {
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'grnoc-tsds-aggregate-* venv' },
);