Move the list of methods to write as elements out into a global.
[dbsrgits/SQL-Translator.git] / Build.PL
1 # $Id: Build.PL,v 1.1 2004-07-30 15:27:36 kycl4rk Exp $
2
3 use strict;
4 use Module::Build;
5
6 my $builder           =  Module::Build->new(
7     create_readme     => 0,
8     dist_abstract     => 'SQL DDL transformations and more',
9     dist_author       => 'Ken Y. Clark <kclark@cpan.org>',
10     dist_version_from => 'lib/SQL/Translator.pm',
11     license           => 'gpl',
12     module_name       => 'SQL::Translator',
13     sign              => 1,
14     script_files      => [
15         'bin/sqlt-diagram',
16         'bin/sqlt-diff',
17         'bin/sqlt-dumper',
18         'bin/sqlt-graph',
19         'bin/sqlt',
20     ],
21     requires          => {
22         'Class::Base'             => 0,
23         'IO::Dir'                 => 0,
24         'Template'                => 2.10,
25         'Parse::RecDescent'       => 1.94,
26         'Pod::Usage'              => 0,
27     },
28     recommends        => {
29         'GD'                      => 0,
30         'GraphViz'                => 0,
31         'IO::File'                => 0,
32         'IO::Scalar'              => 0,
33         'Spreadsheet::ParseExcel' => 0.2602,
34         'Text::ParseWords'        => 0,
35         'Text::RecordParser'      => 0.02,
36         'XML::Writer'             => 0.500,
37         'XML::XPath'              => 1.13,
38         'YAML'                    => 0,
39     },
40     build_requires    => {
41         'File::Basename'          => 0,
42         'File::Spec'              => 0,
43         'Test::More'              => 0,
44         'Test::Exception'         => 0,
45         'Test::Differences'       => 0,
46     }
47 );
48 $builder->create_build_script;
49 print "Now run './Build', './Build test', and './Build install'\n";