-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.PL
43 lines (35 loc) · 963 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
37
38
39
40
41
42
43
#!/usr/bin/perl
use strict;
use warnings;
use ExtUtils::MakeMaker;
sub MY::postamble { <<"END"; }
venv:
carton install --deployment --path=venv
rpm: manifest dist
rpmbuild -ta GRNOC-Config-\$(VERSION).tar.gz
END
WriteMakefile(
NAME => 'GRNOC::Config',
AUTHOR => 'GRNOC Systems Engineering <[email protected]>',
VERSION_FROM => 'lib/GRNOC/Config.pm',
ABSTRACT_FROM => 'lib/GRNOC/Config.pm',
PL_FILES => {},
PREREQ_PM => {
'Test::More'=> 0,
'XML::Simple'=> 0,
'XML::XPath' => 0,
'XML::LibXML' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'GRNOC-Config-* venv' },
);
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
);
}