[BACK]Return to Build.PL CVS log [TXT][DIR] Up to [local] / todotxt / Text-Todo

File: [local] / todotxt / Text-Todo / Build.PL (download)

Revision 1.6, Wed Jan 20 21:53:01 2010 UTC (14 years, 4 months ago) by andrew
Branch: MAIN
Changes since 1.5: +2 -3 lines

Note which version of Test::More we need for tests
Don't need List::Util::first when a foreach return 1 works

use strict;
use warnings;
use Module::Build;
# $AFresh1: Build.PL,v 1.6 2010/01/20 21:53:01 andrew Exp $

my $builder = Module::Build->new(
    module_name         => 'Text::Todo',
    license             => 'perl',
    dist_author         => 'Andrew Fresh <andrew@cpan.org>',
    dist_version_from   => 'lib/Text/Todo.pm',
    requires => {
        'Test::More' => 0.82,
        'Carp' => 0,
        'Class::Std::Utils' => 0,
        'File::Spec' => 0,
        'version'    => 0,
    },
    add_to_cleanup      => [ 'Text-Todo-*' ],
);

$builder->create_build_script();