-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuild.PL
36 lines (29 loc) · 887 Bytes
/
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
use strict;
use warnings;
use Module::Build;
my $build = Module::Build->new(
license => 'perl',
dynamic_config => 0,
build_requires => {
'Test::More' => '0.98',
'Test::Requires' => 0,
'Test::Stub' => 0,
'Test::Should' => 0,
},
configure_requires => { 'Module::Build' => '0.38' },
requires => {
perl => '5.008008',
parent => 0,
JSON => 0,
'LWP::UserAgent' => 0,
},
no_index => { 'directory' => [ 'inc' ] },
name => 'Triglav-Client',
module_name => 'Triglav::Client',
# script_files => [''],
test_files => (-d '.git' || $ENV{RELEASE_TESTING}) ? 't/ xt/' : 't/',
recursive_test_files => 1,
create_readme => 1,
create_license => 1,
);
$build->create_build_script();