File: [local] / todotxt / Text-Todo-REST-API / Build.PL (download)
Revision 1.10, Sun Feb 14 06:14:57 2010 UTC (14 years, 7 months ago) by andrew
Branch: MAIN
CVS Tags: HEAD Changes since 1.9: +2 -2 lines
Get available tags if we don't ask for a specific tag
|
use strict;
use warnings;
use Module::Build;
# $AFresh1: Build.PL,v 1.10 2010/02/14 06:14:57 andrew Exp $
my $builder = Module::Build->new(
module_name => 'Text::Todo::REST::API',
license => 'perl',
dist_author => 'Andrew Fresh <andrew@cpan.org>',
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.2,
'Test::More' => 0,
'version' => 0,
},
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();