-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.PL
33 lines (31 loc) · 969 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
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
name => 'Benchmarks',
module_name => 'Benchmarks',
license => 'perl',
dist_author => 'Dai Okabayashi <bayashi@cpan.org>',
dist_version_from => 'lib/Benchmarks.pm',
configure_requires => {
'Module::Build' => 0.38,
},
build_requires => {
'Test::More' => 0.88,
},
requires => {
'perl' => '5.008001',
'Benchmark' => 1.07,
},
script_files => [ 'script/penchmarks' ],
add_to_cleanup => [ 'Benchmarks-*' ],
meta_merge => {
resources => {
repository => 'http://github.com/bayashi/Benchmarks',
bugtracker => 'http://github.com/bayashi/Benchmarks/issues',
}
},
recursive_test_files => 1,
test_files => (-d '.git' || $ENV{RELEASE_TESTING}) ? ['t/', 'xt/'] : ['t/'],
);
$builder->create_build_script();