=================================================================== RCS file: /cvs/todotxt/Text-Todo-REST-API/Build.PL,v retrieving revision 1.1.1.1 retrieving revision 1.9 diff -u -r1.1.1.1 -r1.9 --- todotxt/Text-Todo-REST-API/Build.PL 2010/01/16 16:01:07 1.1.1.1 +++ todotxt/Text-Todo-REST-API/Build.PL 2010/01/31 04:24:55 1.9 @@ -1,18 +1,39 @@ use strict; use warnings; use Module::Build; -# $RedRiver$ +# $AFresh1: Build.PL,v 1.8 2010/01/31 03:58:31 andrew Exp $ + my $builder = Module::Build->new( - module_name => 'Text::Todo::REST::API', - license => 'perl', - dist_author => 'Andrew Fresh ', - dist_version_from => 'lib/Text/Todo/REST/API.pm', - requires => { - 'Test::More' => 0, - 'version' => 0, + module_name => 'Text::Todo::REST::API', + license => 'perl', + dist_author => 'Andrew Fresh ', + dist_version_from => 'lib/Text/Todo/REST/API.pm', + recursive_test_files => 1, + requires => { + 'Carp' => 0, + 'Class::Std::Utils' => 0, + 'Digest::MD5' => 0, + 'File::Spec' => 0, + 'Text::Todo' => 0, + 'Test::More' => 0, + 'version' => 0, }, - add_to_cleanup => [ 'Text-Todo-REST-API-*' ], + build_requires => { + 'Test::JSON' => 0, + 'Test::More' => 0.82, + }, + add_to_cleanup => [ + 'Text-Todo-REST-API-*', + 'MANIFEST', + 'META.yml', + 'Makefile.PL', + 'LICENSE', + 'README', + ], + create_makefile_pl => 'traditional', + create_license => 1, + create_readme => 1, ); $builder->create_build_script();