-
Notifications
You must be signed in to change notification settings - Fork 12
/
Build.PL
107 lines (90 loc) · 2.57 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# =========================================================================
# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
# DO NOT EDIT DIRECTLY.
# =========================================================================
use 5.008_001;
use strict;
use warnings;
use utf8;
BEGIN { push @INC, '.' }
use builder::UR;
use File::Basename;
use File::Spec;
my %args = (
license => 'perl_5',
dynamic_config => 0,
configure_requires => {
'Module::Build' => '0.4005',
},
requires => {
'Carp' => '0',
'Class::AutoloadCAN' => '0.03',
'Class::Autouse' => '2.0',
'Clone::PP' => '1.02',
'DBD::SQLite' => '1.14',
'DBI' => '1.601',
'Data::Compare' => '0.13',
'Data::UUID' => '0.148',
'Date::Format' => '0',
'Devel::GlobalDestruction' => '0',
'File::Basename' => '2.73',
'File::Path' => '0',
'File::Temp' => '0',
'FreezeThaw' => '0.43',
'Getopt::Complete' => '0.26',
'HTTP::Request' => '0',
'JSON' => '0',
'Lingua::EN::Inflect' => '1.88',
'List::MoreUtils' => '0',
'MRO::Compat' => '0',
'Module::Runtime' => 'v0.14.0',
'Path::Class' => '0',
'Plack' => '0',
'Pod::Simple::HTML' => '3.03',
'Pod::Simple::Text' => '2.02',
'Sub::Install' => '0.924',
'Sub::Name' => '0.04',
'Sys::Hostname' => '1.11',
'Template' => '0',
'Text::Diff' => '0.35',
'Text::Glob' => '0',
'YAML' => '0',
'perl' => 'v5.8.7',
'version' => '0',
},
recommends => {
},
suggests => {
},
build_requires => {
},
test_requires => {
'Test::Deep' => '0',
'Test::Exception' => '0',
'Test::Fatal' => '0',
'Test::Fork' => '0',
'Test::More' => '0.98',
},
name => 'UR',
module_name => 'UR',
allow_pureperl => 0,
script_files => [glob('script/*'), glob('bin/*')],
PL_files => {},
test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
recursive_test_files => 1,
);
if (-d 'share') {
$args{share_dir} = 'share';
}
my $builder = builder::UR->subclass(
class => 'MyBuilder',
code => q{
sub ACTION_distmeta {
die "Do not run distmeta. Install Minilla and `minil install` instead.\n";
}
sub ACTION_installdeps {
die "Do not run installdeps. Run `cpanm --installdeps .` instead.\n";
}
}
)->new(%args);
$builder->create_build_script();