From: Ken Youens-Clark Date: Fri, 30 Jul 2004 15:27:36 +0000 (+0000) Subject: Adding new Module::Build-based build script. X-Git-Tag: v0.06~27 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5e14531f49e538cdb2c6f9b61ca34fc6b7c6a30c;p=dbsrgits%2FSQL-Translator.git Adding new Module::Build-based build script. --- diff --git a/Build.PL b/Build.PL new file mode 100644 index 0000000..4ced506 --- /dev/null +++ b/Build.PL @@ -0,0 +1,49 @@ +# $Id: Build.PL,v 1.1 2004-07-30 15:27:36 kycl4rk Exp $ + +use strict; +use Module::Build; + +my $builder = Module::Build->new( + create_readme => 0, + dist_abstract => 'SQL DDL transformations and more', + dist_author => 'Ken Y. Clark ', + dist_version_from => 'lib/SQL/Translator.pm', + license => 'gpl', + module_name => 'SQL::Translator', + sign => 1, + script_files => [ + 'bin/sqlt-diagram', + 'bin/sqlt-diff', + 'bin/sqlt-dumper', + 'bin/sqlt-graph', + 'bin/sqlt', + ], + requires => { + 'Class::Base' => 0, + 'IO::Dir' => 0, + 'Template' => 2.10, + 'Parse::RecDescent' => 1.94, + 'Pod::Usage' => 0, + }, + recommends => { + 'GD' => 0, + 'GraphViz' => 0, + 'IO::File' => 0, + 'IO::Scalar' => 0, + 'Spreadsheet::ParseExcel' => 0.2602, + 'Text::ParseWords' => 0, + 'Text::RecordParser' => 0.02, + 'XML::Writer' => 0.500, + 'XML::XPath' => 1.13, + 'YAML' => 0, + }, + build_requires => { + 'File::Basename' => 0, + 'File::Spec' => 0, + 'Test::More' => 0, + 'Test::Exception' => 0, + 'Test::Differences' => 0, + } +); +$builder->create_build_script; +print "Now run './Build', './Build test', and './Build install'\n";