version 1.3, 2010/01/11 19:52:06 |
version 1.9, 2010/01/22 18:15:56 |
|
|
use strict; |
use strict; |
use warnings; |
use warnings; |
use Module::Build; |
use Module::Build; |
# $AFresh1: Build.PL,v 1.2 2010/01/11 02:57:34 andrew Exp $ |
|
|
|
|
# $AFresh1: Build.PL,v 1.8 2010/01/22 01:30:45 andrew Exp $ |
|
|
my $builder = Module::Build->new( |
my $builder = Module::Build->new( |
module_name => 'Text::Todo', |
module_name => 'Text::Todo', |
license => 'perl', |
license => 'perl', |
dist_author => 'Andrew Fresh <andrew@cpan.org>', |
dist_author => 'Andrew Fresh <andrew@cpan.org>', |
dist_version_from => 'lib/Text/Todo.pm', |
dist_version_from => 'lib/Text/Todo.pm', |
requires => { |
requires => { |
'Test::More' => 0, |
'Carp' => 0, |
'Carp' => 0, |
|
'Class::Std::Utils' => 0, |
'Class::Std::Utils' => 0, |
'File::Spec' => 0, |
'File::Spec' => 0, |
'List::Util' => 0, |
'version' => 0, |
'version' => 0, |
|
}, |
}, |
add_to_cleanup => [ 'Text-Todo-*' ], |
build_requires => { |
|
'Test::More' => 0.82, |
|
}, |
|
add_to_cleanup => [ |
|
'Text-Todo-*', |
|
'MANIFEST', |
|
'META.yml', |
|
'Makefile.PL', |
|
'LICENSE', |
|
'README', |
|
], |
|
create_makefile_pl => 'traditional', |
|
create_license => 1, |
|
create_readme => 1, |
); |
); |
|
|
$builder->create_build_script(); |
$builder->create_build_script(); |