forked from goncalotomas/FMKe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
58 lines (53 loc) · 1.64 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
{eunit_opts, [
verbose,
{report, {eunit_surefire, [{dir,"."}]}}
]}.
{erl_opts, [
{src_dirs, [src]},
{parse_transform, lager_transform}
]}.
{deps, [
%% Hex dependencies
eredis,
jsx,
lager,
poolboy,
%% Non-hex dependencies in legacy mode
{antidote_pb, {git, "https://github.com/SyncFree/antidote_pb", {tag, "erlang19"}}},
{cowboy, {git, "https://github.com/ninenines/cowboy", {tag, "2.0.0-rc.4"}}},
{riakc, {git, "https://github.com/goncalotomas/riakc", {tag, "rebar3"}}}
]}.
{profiles, [
{prod, [
{erl_opts, [no_debug_info, warnings_as_errors]},
{relx, [{dev_mode, false}]}
]},
{test, [
{erl_opts, [debug_info]},
{deps, [
{hackney, "1.9.0"},
{lasp_bench, {git, "https://github.com/lasp-lang/lasp-bench", {tag, "fmke"}}}
]}
]}
]}.
{relx, [{release, {fmke, "0.1.0"}, [fmke], [
{vm_args, "config/vm.args"},
{dev_mode, false},
{include_erts, true},
{overlay, [
{copy, "bin/env", "bin"},
{copy, "config/fmke.config", "config/fmke.config"}
]},
{overlay_vars, "config/vars.config"},
{extended_start_script, true}]},
{release, {fmke_test, "0.1.0"}, [fmke], [
{vm_args, "config/vm_test.args"},
{dev_mode, true},
{include_erts, false},
{overlay, [
{copy, "bin/env_test", "bin"},
{copy, "config/fmke.config", "config/fmke.config"}
]},
{overlay_vars, "config/vars_test.config"},
{extended_start_script, true}]}
]}.