-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBuild.PL
60 lines (56 loc) · 1.74 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
use strict;
use warnings;
use Module::Build;
use Config;
if($Config{osname} =~ m/win/i) {
die 'No support for OS',$/;
}
my $builder = Module::Build->new(
meta_merge => {
resources => {
repository => {
url => 'https://github.com/duncs/perl-app-bk.git',
web => 'http://github.com/duncs/perl-app-bk',
type => 'git',
},
bugtracker => {
web => 'https://github.com/duncs/perl-app-bk/issues',
},
homepage => 'https://github.com/duncs/perl-app-bk',
},
},
module_name => 'App::bk',
license => 'perl',
dist_author => q{Duncan Ferguson <[email protected]>},
dist_version_from => 'lib/App/bk.pm',
dist_abstract => 'A pre-edit file backup program',
requires => {
'FindBin' => 0,
'File::Basename' => 0,
'Getopt::Long' => 0,
'Pod::Usage' => 0,
'English' => 0,
'POSIX' => 0,
'File::Copy' => 0,
'File::Which' => 0,
},
build_requires => {
'CPAN::Meta::Spec' => 2.133380,
'Module::Build' => 0.42,
'FindBin' => 0,
'Test::More' => 0.94,
'File::Basename' => 0,
'Getopt::Long' => 0,
'Pod::Usage' => 0,
'English' => 0,
'POSIX' => 0,
'File::Copy' => 0,
'File::Which' => 0,
'Test::Trap' => 0,
},
configure_requires => { 'Module::Build' => 0.42 },
add_to_cleanup => ['App-bk-*', 't/file[12].txt.*'],
create_makefile_pl => 'traditional',
script_files => 'bin',
);
$builder->create_build_script();