-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
49 lines (41 loc) · 1.14 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
%% Erlang compiler options
{erl_opts, [debug_info,
{i, "test"},
{src_dirs, ["src"]}
]}.
{eunit_opts, [verbose, {report, {eunit_surefire, [{dir, "."}]}}]}.
{cover_enabled, true}.
{deps, [
{iso8601, {git, "https://github.com/erlsci/iso8601.git", {tag, "1.2.3"}}},
{erlastic_search, {git, "https://github.com/tsloughter/erlastic_search.git", {branch, "master"}}}
]}.
{relx, [
{
release,
{ es_client, "0.1.0" },
[es_client, sasl]
},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}
]}.
{profiles, [
{ prod, [
{relx, [
{dev_mode, false},
{include_erts, true}
]}
]},
{'centos-7', [
{relx, [
{dev_mode, false},
{include_erts, true},
{vm_args, "./config/prod.vm.args"},
{sys_config, "./config/prod.config"},
{include_erts, "/Users/leeyi/workspace/erl/erlang_otp20.0_for_centos7"},
{system_libs, "/Users/leeyi/workspace/erl/erlang_otp20.0_for_centos7"}
]}
]}
]}.