-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuild.PL
More file actions
26 lines (24 loc) · 919 Bytes
/
Build.PL
File metadata and controls
26 lines (24 loc) · 919 Bytes
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
use strict;
use warnings;
use Module::Build::Pluggable qw/CPANfile/;
my $builder = Module::Build::Pluggable->new(
name => 'Amazon-CreatorsAPI',
module_name => 'Amazon::CreatorsAPI',
license => 'artistic_2',
dist_author => 'Dai Okabayashi',
dist_version_from => 'lib/Amazon/CreatorsAPI.pm',
add_to_cleanup => [ 'Amazon-CreatorsAPI-*' ],
no_index => {
directory => [ 't', 'xt', 'inc' ],
},
meta_merge => {
resources => {
repository => 'http://github.com/bayashi/Amazon-CreatorsAPI',
bugtracker => 'http://github.com/bayashi/Amazon-CreatorsAPI/issues',
}
},
recursive_test_files => 1,
test_files => (-d '.git' || $ENV{RELEASE_TESTING}) ? ['t/', 'xt/'] : ['t/'],
create_license => 1, # https://metacpan.org/pod/Software::License
);
$builder->create_build_script();