[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.4, Mon Jan 18 00:19:55 2010 UTC (14 years, 4 months ago) by andrew
Branch: MAIN
Changes since 1.3: +10 -9 lines

Use Class::Std instead of building my own class with Class::Std::Utils.  Seems "easier" and cleans up after me (which is the important part) I have to do some more cleanup to the new BUILD routines tho.

use strict;
use warnings;
use Module::Build;

# $AFresh1: Build.PL,v 1.4 2010/01/18 00:19:55 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,
        'Carp'       => 0,
        'Class::Std' => 0,
        'File::Spec' => 0,
        'List::Util' => 0,
        'version'    => 0,
    },
    add_to_cleanup => ['Text-Todo-*'],
);

$builder->create_build_script();