Merge 'trunk' into 'current'
[dbsrgits/DBIx-Class-Schema-Loader.git] / Build.PL
1 use strict;
2 use Module::Build;
3
4 my %arguments = (
5     license            => 'perl',
6     module_name        => 'DBIx::Class::Schema::Loader',
7     requires           => {
8         'File::Spec'                    => 0,
9         'Scalar::Util'                  => 0,
10         'Data::Dump'                    => 1.06,
11         'UNIVERSAL::require'            => 0.11,
12         'Lingua::EN::Inflect::Number'   => 1.1,
13         'Text::Balanced'                => 0,
14         'Digest::MD5'                   => 2.36,
15         'Class::Accessor::Fast'         => 0.30,
16         'Class::Data::Accessor'         => 0.03,
17         'Class::C3'                     => 0.14,
18         'Carp::Clan'                    => 0,
19         'DBIx::Class'                   => 0.07005,
20     },
21     recommends         => {
22         'Class::Inspector'              => 0,
23         'DBI'                           => 1.53,
24         'DBD::SQLite'                   => 1.13,
25         'DBD::mysql'                    => 4.004,
26         'DBD::Pg'                       => 1.49, # Soon to be 1.50
27         'DBD::DB2'                      => 1.0,
28         'DBD::Oracle'                   => 0.19,
29     },
30     build_requires     => {
31         'Test::More'                    => 0.32,
32         'DBI'                           => 1.53,
33         'DBD::SQLite'                   => 1.13,
34         'File::Path'                    => 0,
35     },
36     create_makefile_pl => 'passthrough',
37     create_readme      => 1,
38 );
39
40 Module::Build->new(%arguments)->create_build_script;