-
Notifications
You must be signed in to change notification settings - Fork 3
/
Build.PL
85 lines (83 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
use 5.012000;
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'App::Dochazka::REST',
license => 'bsd',
dist_author => q{Nathan Cutler <[email protected]>},
dist_version_from => 'lib/App/Dochazka/REST.pm',
create_license => 0,
create_readme => 0,
release_status => 'stable',
share_dir => {
dist => [ 'config' ],
},
meta_merge => {
resources => {
repository => 'https://github.com/smithfarm/dochazka-rest',
bugtracker => 'https://github.com/smithfarm/dochazka-rest/issues',
},
no_index => {
directory => [
"config"
]
}
},
script_files => [
'bin/dochazka-dbinit',
'bin/dochazka-ldap-batch-create',
'bin/dochazka-ldap-sync-all',
'bin/dochazka-resetdb',
'bin/dochazka-rest',
],
configure_requires => {
'Module::Build' => 0,
},
build_requires => {
'App::CELL' => 0.215,
'App::Dochazka::Common' => 0.205,
'Authen::Passphrase::SaltedDigest' => 0.008,
'Date::Holidays::CZ' => 0.12,
'DBIx::Connector' => 0.47,
'File::ShareDir::Install' => 0.11,
'File::Slurp' => 0,
'HTTP::Request' => 0,
'Mason' => 0,
'Plack::Test' => 0,
'Test::Fatal' => 0,
'Test::JSON' => 0,
'Test::Warnings' => 0,
'Web::Machine' => 0.15,
'Web::MREST' => 0.287,
'Web::MREST::CLI' => 0.276,
},
requires => {
'perl' => 5.012,
'App::CELL' => 0.215,
'App::Dochazka::Common' => 0.207,
'Authen::Passphrase::SaltedDigest' => 0.008,
'Date::Calc' => 0,
'Date::Holidays::CZ' => 0.12,
'DBD::Pg' => 0,
'DBI' => 0,
'DBIx::Connector' => 0.47,
'File::ShareDir' => 1.0,
'JSON' => 0,
'Mason' => 0,
'Params::Validate' => 1.06,
'Path::Router' => 0.12,
'Plack::Middleware::Session' => 0,
'Plack::Middleware::StackTrace' => 0,
'Plack::Runner' => 0,
'Pod::Simple::HTML' => 0,
'Test::Deep::NoTest' => 0,
'Try::Tiny' => 0,
'Web::Machine' => 0.15,
'Web::MREST' => 0.287,
'Web::MREST::CLI' => 0.276,
},
add_to_cleanup => [ 'App-Dochazka-REST-*' ],
recursive_test_files => 1,
);
$builder->create_build_script();