-
Notifications
You must be signed in to change notification settings - Fork 4
/
Build.PL
30 lines (28 loc) · 886 Bytes
/
Build.PL
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
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'Alien::Packages',
license => 'perl',
dist_author => q{Jens Rehsack <[email protected]>},
dist_version_from => 'lib/Alien/Packages.pm',
build_requires => {
'Test::More' => "0.90",
},
requires => {
'IPC::Open3' => 0,
'IPC::Cmd' => 0,
'Module::Pluggable' => '4.5',
},
recommends => {
'IPC::Run' => 0,
'Module::Pluggable' => '4.8',
( $^O eq 'MSWin32' ? ( 'Win32::Registry' => 0, ) : () ),
},
create_readme => 1,
meta_merge =>
{ resources => { repository => "https://github.com/rehsack/Alien-Packages", }, },
test_files => join( ' ' => 't/*.t xt/*.t' ),
add_to_cleanup => [ 'Alien-Packages-*' ],
);
$builder->create_build_script();