X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=d13d28555e24c8cad0db5aeb5fabb7a9d13c7286;hb=4e914a7c1dd88467a0d287073c9a9db477725394;hp=1230ae8e12e806f3214ff8e511bc2017d08d67ad;hpb=05cb369d806381025614db5918747d10869ede8e;p=dbsrgits%2FSQL-Abstract.git diff --git a/Makefile.PL b/Makefile.PL index 1230ae8..d13d285 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,18 +1,32 @@ -use 5.006; -use ExtUtils::MakeMaker; -# See lib/ExtUtils/MakeMaker.pm for details of how to influence -# the contents of the Makefile that is written. -WriteMakefile( - NAME => 'SQL::Abstract', - VERSION_FROM => 'lib/SQL/Abstract.pm', # finds $VERSION - PREREQ_PM => { - "List::Util" => 0, - "Scalar::Util" => 0, - "Test::Builder" => 0, - "Test::More" => 0, - "Test::Exception" => 0, - "Data::Dumper" => 0, - }, # e.g., Module::Name => 1.1 - ABSTRACT_FROM => 'lib/SQL/Abstract.pm', # retrieve abstract from module - AUTHOR => 'Nathan Wiger (nate@wiger.org)', -); +use inc::Module::Install 1.0; +use strict; +use warnings; + +use 5.006002; + +perl_version '5.006002'; +name 'SQL-Abstract'; +author 'Nathan Wiger '; + +all_from 'lib/SQL/Abstract.pm'; + +requires 'List::Util' => 0; +requires 'Scalar::Util' => 0; +requires 'Class::Accessor::Grouped' => 0.09005; +requires 'Getopt::Long::Descriptive' => 0.086; +requires 'Hash::Merge' => 0.12; + +test_requires "Test::More" => 0.92; +test_requires "Test::Deep" => 0.106; +test_requires "Test::Exception" => 0; +test_requires "Test::Warn" => 0; +test_requires "Storable" => 0; # for cloning in tests + +no_index package => 'DBIx::Class::Storage::Debug::PrettyPrint'; +no_index directory => 'examples'; + +install_script 'format-sql'; + +tests_recursive 't'; + +WriteAll();