forked from shouhuas/testnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
59 lines (52 loc) · 1.92 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
{erl_opts, [debug_info]}.
{deps, [
{trie, "1", {git, "https://github.com/BumblebeeBat/MerkleTrie", {tag, "master"}}},
{chalang, "1", {git, "https://github.com/zack-bitcoin/chalang", {tag, "master"}}},
{jiffy, "0.14.8", {git, "https://github.com/davisp/jiffy", {tag, "0.14.8"}}},
{cowboy, "1.0.4", {git, "https://github.com/ninenines/cowboy.git", {tag, "1.0.4"}}}
]}.
{relx, [{release, {ae_core, "0.1.0"}, [ae_core, ae_api]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{overlay, [
{mkdir, "data"},
{mkdir, "blocks"},
{mkdir, "keys"},
{mkdir, "oracle_questions"}
]},
{extended_start_script, true}]
}.
{profiles, [{local, [{relx, [{dev_mode, true},
{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}}
]
}]
}
]}
]}.