-
Notifications
You must be signed in to change notification settings - Fork 6
/
rebar.config
76 lines (67 loc) · 2.75 KB
/
rebar.config
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
{deps, [
{color, {git, "git://github.com/julianduque/erlang-color", {branch, "master"}}},
{rkvs, {git, "git://github.com/ricardobcl/rkvs", {branch, "rebar3"}}},
{riak_core, {git, "git://github.com/ricardobcl/riak_core", {branch, "rebar3"}}},
{swc, {git, "git://github.com/ricardobcl/ServerWideClocks", {branch, "master"}}},
{eflame, {git, "git://github.com/slfritchie/eflame", {branch, "master"}}},
{ranch, {git, "git://github.com/ninenines/ranch", {branch, "master"}}},
{msgpack, {git, "git://github.com/msgpack/msgpack-erlang.git", {branch, "master"}}}
]}.
{plugins, [pc]}.
{overrides,
[
{override, bitcask,
[{deps, []},
{plugins, [pc]},
{artifacts, ["priv/bitcask.so"]},
{provider_hooks, [{post,
[{compile, {pc, compile}},
{clean, {pc, clean}}]
}]}
]
}
]
}.
{erl_opts, [{platform_define, "^[0-9]+", namespaced_types}, debug_info, warnings_as_errors, {parse_transform, lager_transform}]}.
{relx, [
% {default_release, dotted_db, "1.0.0"},
{release, {dotted_db, "1.0.0"},
[kernel,
stdlib,
sasl,
edown,
getopt,
meck,
neotoma,
parse_trans,
runtime_tools,
observer,
wx,
bitcask,
cuttlefish,
msgpack,
rkvs,
swc,
color,
eflame,
dotted_db]},
{vm_args, "config/files/vm.args"},
{generate_start_script, true},
{dev_mode, true},
{include_erts, true},
{extended_start_script, true},
% {overlay_vars, "config/vars.config"},
{overlay, [{mkdir, "data/ring"},
{mkdir, "log/sasl"},
{copy, "config/files/erl", "erts-{{erts_vsn}}/bin/erl"},
{copy, "config/files/nodetool", "erts-{{erts_vsn}}/bin/nodetool"},
{template, "config/files/app.config", "etc/app.config"},
{template, "config/files/vm.args", "etc/vm.args"},
{template, "config/files/dotted_db", "bin/dotted_db"},
{template, "config/files/dotted_db-admin", "bin/dotted_db-admin"},
{template, "_build/default/lib/cuttlefish/priv/erlang_vm.schema", "lib/11-erlang_vm.schema"},
{template, "_build/default/lib/riak_core/priv/riak_core.schema", "lib/12-riak_core.schema"},
{template, "_build/default/lib/riak_sysmon/priv/riak_sysmon.schema", "lib/15-riak_sysmon.schema"},
{template, "_build/default/lib/eleveldb/priv/eleveldb.schema", "lib/21-leveldb.schema"}
]}
]}.