-
Notifications
You must be signed in to change notification settings - Fork 31
/
Build.PL
77 lines (66 loc) · 1.69 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.024.
use strict;
use warnings;
use Module::Build 0.28;
my %module_build_args = (
"build_requires" => {
"Module::Build" => "0.28"
},
"configure_requires" => {
"Module::Build" => "0.28"
},
"dist_abstract" => "A REST API microframework for Perl.",
"dist_author" => [
"Artur Khabibullin"
],
"dist_name" => "Raisin",
"dist_version" => "0.94",
"license" => "perl",
"module_name" => "Raisin",
"recursive_test_files" => 1,
"requires" => {
"HTTP::Request::Common" => 0,
"HTTP::Status" => 0,
"Hash::Merge" => "0.300",
"JSON::MaybeXS" => "1.004000",
"Plack" => "1.0030",
"Plack::Middleware::CrossOrigin" => "0.009",
"Scalar::Util" => "1.38",
"Type::Tiny" => "0.044",
"YAML" => "0.90",
"parent" => 0,
"perl" => "5.010000"
},
"script_files" => [
"script/raisin"
],
"test_requires" => {
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"List::Util" => "1.29",
"Test::Exception" => 0,
"Test::More" => 0,
"Test::Pod" => 0,
"Test::Simple" => "1.001014"
}
);
my %fallback_build_requires = (
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"List::Util" => "1.29",
"Module::Build" => "0.28",
"Test::Exception" => 0,
"Test::More" => 0,
"Test::Pod" => 0,
"Test::Simple" => "1.001014"
);
unless ( eval { Module::Build->VERSION(0.4004) } ) {
delete $module_build_args{test_requires};
$module_build_args{build_requires} = \%fallback_build_requires;
}
my $build = Module::Build->new(%module_build_args);
$build->create_build_script;