-
Notifications
You must be signed in to change notification settings - Fork 9
/
Build.PL
60 lines (55 loc) · 1.84 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
45
46
47
48
49
50
51
52
53
54
55
56
57
use 5.006;
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'DBIx::DataModel',
license => 'perl',
dist_author => 'Laurent Dami <dami AT cpan.org>',
dist_version_from => 'lib/DBIx/DataModel.pm',
requires => {
'perl' => 5.010,
'version' => 0,
'Carp::Object' => 0,
'Clone' => 0,
'DBI' => 0,
'SQL::Abstract::Classic' => 1.91,
'SQL::Abstract::More' => 1.41,
'Module::Build' => 0,
'Data::Structure::Util' => 0,
'Hash::Util' => 0,
'Scalar::Util' => 1.07,
'Storable' => 0,
'namespace::clean' => 0,
'MRO::Compat' => 0,
'Module::Load' => 0,
'Params::Validate' => 0,
'Try::Tiny' => 0,
},
configure_requires => {
'Module::Build' => 0,
},
build_requires => {
# test_requires => { # not working in perl 5.10, so keep it as 'build_requires'
'DBD::Mock' => 1.39,
'FindBin' => 0,
'DBD::SQLite' => 1.38,
'SQL::Abstract::Test' => 0,
},
recommends => {
'Lingua::EN::Inflect::Phrase' => 0,
'List::Categorize' => 0.04,
'File::Tabular' => 0,
'Excel::Writer::XLSX' => 0,
'JSON::MaybeXS' => 0,
'Cpanel::JSON::XS' => 0,
'YAML::XS' => 0,
},
add_to_cleanup => [ 'DBIx-DataModel-*' ],
meta_merge => {
resources => {
repository => 'https://github.com/damil/DBIx-DataModel',
}
},
);
$builder->create_build_script();