-
Notifications
You must be signed in to change notification settings - Fork 3
/
Build.PL
44 lines (36 loc) · 1.09 KB
/
Build.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
44
use 5.007_003;
use strict;
use warnings;
use Module::Build '0.19';
my $builder = Module::Build->new(
module_name => 'Config::Std',
license => 'perl',
create_license => 'perl',
dist_author => [ 'Damian Conway <[email protected]>',
'Bill Ricker <[email protected]>',
'Tom Metro <[email protected]>'],
dist_version_from => 'lib/Config/Std.pm',
requires => {
'Test::More' => 0,
'Class::Std' => 0,
'version' => 0,
'perl' => 5.007_003, # '5.7.3',
},
recommends => {
'Test::Pod' => 0,
'Test::Distribution' => 0,
},
meta_merge => {
resources => {
repository => 'https://github.com/n1vux/Config-Std-Perl',
}
},
add_to_cleanup => [ 'Config-Std-*' ],
create_makefile_pl => 'small', # Module::Build::Compat
use_tap_harness => 1,
tap_harness_args => {
jobs => 1, # Config file tests are setup & sequenced
# default rulesfile=t/testrules.yml has belt and suspenders
}
);
$builder->create_build_script();