X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=a919ccc6199784d80e105cabd792d91e61e29204;hb=2ffd6b4c76d2ff288dff843d6e2689b791f881a2;hp=55484fb0dfe59d8d5162a0c5bb8e1cbf29a183b0;hpb=25328cc401d1f24e5c975475b6389fa462698b73;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/Build.PL b/Build.PL index 55484fb..a919ccc 100644 --- a/Build.PL +++ b/Build.PL @@ -1,37 +1,3 @@ -use strict; -use Module::Build; - -my %arguments = ( - license => 'perl', - module_name => 'DBIx::Class::Schema::Loader', - requires => { - 'Scalar::Util' => 0, - 'Data::Dump' => 1.06, - 'UNIVERSAL::require' => 0.10, - 'Lingua::EN::Inflect' => 1.89, - 'Lingua::EN::Inflect::Number' => 1.1, - 'Text::Balanced' => 0, - 'Class::Accessor::Fast' => 0.22, - 'Class::Data::Accessor' => 0.02, - 'Class::C3' => 0.11, - 'Carp::Clan' => 0, - 'DBIx::Class' => 0.06003, - }, - recommends => { - 'Class::Inspector' => 0, - 'DBI' => 1.50, - 'DBD::SQLite' => 1.12, - 'DBD::mysql' => 3.0003, - 'DBD::Pg' => 1.49, - 'DBD::DB2' => 0.78, - }, - build_requires => { - 'Test::More' => 0.32, - 'DBI' => 1.50, - 'DBD::SQLite' => 1.12, - }, - create_makefile_pl => 'passthrough', - create_readme => 1, -); - -Module::Build->new(%arguments)->create_build_script; +# Dear Distribution Packager. This use of require is intentional. +# Module::Install detects Build.PL usage and acts accordingly. +require 'Makefile.PL';