Wasn't paying attention when I copied prereqs from Makefile.PL

Randy W. Sims wrote:
4) Since M::S can generate distros with a Build.PL it might be nice if it also included one. ;)

# vi:et:sw=4 ts=4
use strict;
use warnings;
use 5.6.1;
use Module::Build;

my $build = Module::Build->new(

    module_name  => 'Module::Starter',
    license      => 'perl',
    dist_author  => [
        'Andy Lester <[EMAIL PROTECTED]>',
        'Ricardo SIGNES <[EMAIL PROTECTED]>',
    ],


    script_files => [ 'bin/module-starter' ],

    build_requires     => {
        'Test::More'        => 0,
    },

    requires           => {
        'ExtUtils::Command' => 0,
        'File::Spec'        => 0,
        'Getopt::Long'      => 0,
        'Pod::Usage'        => 0,
    },

);

$build->create_build_script;
__END__

Reply via email to