generated from novalabsxyz/blockchain-follower
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
60 lines (54 loc) · 1.7 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
%% -*- erlang -*-
{erl_opts,
[
{parse_transform, lager_transform},
debug_info
]}.
{deps,
[
{blockchain, {git, "[email protected]:helium/blockchain-core.git", {branch, "master"}}},
lager,
recon
]}.
{relx, [{release, {blockchain_follower, "0.1.0"},
[
lager,
blockchain_follower
]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true},
{overlay,
[
{copy, "priv/genesis", "update/genesis"},
{copy, "scripts/extensions/genesis", "bin/extensions/genesis"},
{copy, "scripts/extensions/info", "bin/extensions/info"},
{copy, "./_build/default/lib/blockchain/scripts/extensions/peer", "bin/extensions/peer"},
{copy, "./_build/default/lib/blockchain/scripts/extensions/ledger", "bin/extensions/ledger"},
{copy, "./_build/default/lib/blockchain/scripts/extensions/trace", "bin/extensions/trace"},
{copy, "./_build/default/lib/blockchain/scripts/extensions/txn", "bin/extensions/txn"}
]},
{extended_start_script_hooks,
[
{post_start,
[
{wait_for_process, blockchain_worker}
]}
]},
{extended_start_script_extensions,
[
{genesis, "extensions/genesis"},
{info, "extensions/info"},
{peer, "extensions/peer"},
{ledger, "extensions/ledger"},
{trace, "extensions/trace"},
{txn, "extensions/txn"}
]}
]
}.
{profiles, [{prod, [{relx, [{dev_mode, false},
{include_erts, true}]}]
}]
}.