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 41 42 43 44 45 46 47 48 49 50 51 52
|
#!perl
#
# see the README file for how to build this module
use 5.10.0;
use strict;
use warnings;
use Module::Build;
Module::Build->VERSION('0.4004');
# there is also Devel::CheckOS but the use-devel-assertos script seems a
# bit too complicated every time I look at it. so...
if ( $^O =~ /MSWin32/ ) {
say "no automated install on Windows due to test failures.";
exit 0;
}
my $builder = Module::Build->new(
module_name => 'Test2::Tools::Command',
license => 'bsd',
dist_author => q{Jeremy Mates <jeremy.mates@gmail.com>},
dist_version_from => 'lib/Test2/Tools/Command.pm',
release_status => 'stable',
create_license => 0,
create_readme => 0,
dynamic_config => 0,
configure_requires => { 'Module::Build' => '0.4004', },
test_requires => { 'File::Spec' => '0', 'Test2::V0' => '0.000060', },
requires => {
'perl' => '5.10.0',
'File::chdir' => '0',
'IPC::Open3' => '0',
'Symbol' => '0',
'Test2::V0' => '0',
},
sign => 1,
add_to_cleanup => ['Test2-Tools-Command-*'],
auto_features => {
dist_authoring => {
description => "Create new distributions",
requires => {
'Archive::Tar' => 1.09,
'Module::Signature' => 0.21,
},
},
},
meta_merge => {
resources => { repository => 'https://thrig.me/src/Test2-Tools-Command.git' }
},
);
$builder->create_build_script();
|