-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBuild.PL
63 lines (53 loc) · 1.16 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
61
62
63
use Module::Build;
use strict;
use warnings;
my $build = Module::Build->new(
module_name => 'Games::Maze',
dist_abstract => 'Create Mazes',
dist_author => 'John M. Gamble <jgamble@cpan.org>',
dist_version => '1.09',
dist_name => 'Games-Maze',
#
# Packages in the same file need to be versioned here.
#
provides => {
'Games::Maze' => {
file => 'lib/Games/Maze.pm',
},
'Games::Maze::Quad' => {
file => 'lib/Games/Maze.pm',
},
'Games::Maze::Hex' => {
file => 'lib/Games/Maze.pm',
},
},
requires => {
perl => '5.016001',
Moo => 0,
'Scalar::Util' => 1.09,
'Type::Tiny' => 1.004,
},
configure_requires => {
'Module::Build' => '0.4',
},
build_requires => {
'Test::Simple' => 0,
},
license => 'perl',
create_license => 1,
create_readme => 0,
create_makefile_pl => 'traditional',
dynamic_config => 0,
meta_merge => {
keywords => [qw(games maze mazes)],
resources => {
repository => 'git://github.com/jgamble/Games-Maze.git',
# repository => {
# url => 'git://github.com/jgamble/Games-Maze.git',
# web => 'https://github.com/jgamble/Games-Maze',
# type => 'git',
# },
},
},
);
$build->create_build_script;