1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'Test::MockModule',
create_license => 1,
license => 'perl',
dist_author => [q{Current Maintainer: Geoff Franks <gfranks@cpan.org>}, q{Original Author: Simon Flack <simonflk _AT_ cpan.org>}],
meta_merge => {
resources => {
homepage => 'https://github.com/geofffranks/test-mockmodule',
bugtracker => 'https://github.com/geofffranks/test-mockmodule/issues',
repository => 'git://github.com/geofffranks/test-mockmodule.git',
},
},
configure_requires => {
'Module::Build' => '0.38',
},
requires => {
'perl' => 5.006,
'Carp' => 0,
'Scalar::Util' => 0,
'SUPER' => '1.20',
},
test_requires => {
'Test::More' => 0.88,
'Test::Warnings' => 0
},
add_to_cleanup => [
'Test-MockModule-*',
'cover_db',
'*.rpm',
'*.deb',
]
);
$builder->create_build_script();
|