-
Notifications
You must be signed in to change notification settings - Fork 1
/
Build.PL
42 lines (39 loc) · 1.72 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
use strict;
use warnings;
use Module::Build;
my $builder =
Module::Build->new
( module_name => 'Fey::Loader',
license => 'perl',
requires => { 'DBI' => 0,
'Fey' => 0,
'Moose' => 0,
'MooseX::Params::Validate' => '0.08',
'Scalar::Util' => 0,
},
build_requires => { 'Fey::Test' => 0.07,
'Test::More' => 0,
},
auto_features => { mysql => { description => 'mysql support',
requires => { 'DBD::mysql' => 4.004 },
},
SQLite => { description => 'SQLite support',
requires => { 'DBD::SQLite' => 1.20 },
},
Postgres => { description => 'Postgres support',
requires => { 'DBD::Pg' => 2.0 },
},
},
recursive_test_files => 1,
create_makefile_pl => 'traditional',
create_readme => 1,
sign => 1,
meta_merge =>
{ resources =>
{ homepage => 'http://www.fey-project.org/',
bugtracker => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Fey-Loader',
repository => 'http://hg.urth.org/hg/Fey-Loader',
},
},
);
$builder->create_build_script();