-
Notifications
You must be signed in to change notification settings - Fork 110
/
Copy pathrebar.config
65 lines (58 loc) · 2.36 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
{erl_opts, [debug_info, {parse_transform, lager_transform}]}.
{deps, [
{light_node, "1", {git, "https://github.com/zack-bitcoin/light-node-amoveo", {tag, "master"}}},
{dump, "1", {git, "https://github.com/zack-bitcoin/dump", {tag, "master"}}},
{verkle, "1", {git, "https://github.com/zack-bitcoin/verkle", {tag, "master"}}},
{trie, "1", {git, "https://github.com/zack-bitcoin/MerkleTrie", {tag, "experimental"}}},
{chalang, "1", {git, "https://github.com/zack-bitcoin/chalang", {tag, "master"}}},
{cowboy, "2.10.0", {git, "https://github.com/ninenines/cowboy.git", {tag, "2.10.0"}}},
{lager, ".*", {git, "https://github.com/erlang-lager/lager.git", {tag, "3.9.0"}}}
]}.
{relx, [{release, {amoveo_core, "0.1.0"}, [amoveo_core, amoveo_http]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{overlay, [
{mkdir, "data"},
{mkdir, "channels"},
{mkdir, "blocks"},
{mkdir, "keys"},
{mkdir, "oracle_questions"},
{mkdir, "cleaner"},
{mkdir, "cleaner/data"}
]},
{extended_start_script, true}]
}.
{profiles, [{local, [{relx, [{dev_mode, false},
{include_erts, false},
{sys_config, "./config/local/sys.config"},
{vm_args, "./config/local/vm.args"}]}]
},
{dev1, [{relx, [{dev_mode, false},
{include_erts, false},
{sys_config, "./config/dev1/sys.config"},
{vm_args, "./config/dev1/vm.args"}]}
]
},
{prod, [{relx, [{dev_mode, false},
{include_erts, true},
{include_src, false},
{sys_config, "./config/prod/sys.config"},
{vm_args, "./config/prod/vm.args"}]}]
}]
}.
{overrides,
[{override, jiffy, [
{plugins, [pc]},
{artifacts, ["priv/jiffy.so"]},
{provider_hooks, [
{post,
[
{compile, {pc, compile}},
{clean, {pc, clean}}
]
}]
}
]}
]}.