forked from PowerMeMobile/smppsink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
59 lines (49 loc) · 1.56 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, [
warn_export_all,
warn_missing_spec,
debug_info
]}.
{xref_checks, [
undefined_function_calls,
deprecated_function_calls,
locals_not_used
]}.
{deps, [
{alley_common, {git, "https://github.com/ten0s/alley_common.git", "548c6bf"}},
{pmm_smpplib, {git, "https://github.com/PowerMeMobile/pmm_smpplib.git", {branch, "long_queues_fix"}}},
{uuid, {git, "https://github.com/okeuday/uuid.git", {tag, "v1.8.0"}}},
{lager, {git, "https://github.com/basho/lager.git", {tag, "1.2.1"}}},
{gproc, {git, "https://github.com/uwiger/gproc.git", {tag, "0.2.16"}}},
{yamerl, {git, "https://github.com/yakaz/yamerl.git", {tag, "v0.7.0"}}},
{recon, {git, "https://github.com/ferd/recon.git", {tag, "2.2.0"}}}
]}.
{overrides, [
{del, [{erl_opts, [warnings_as_errors]}]}
]}.
{eunit_opts, [verbose]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{relx, [
{release, {smppsink, ""}, [
kernel,
stdlib,
smppsink,
mnesia,
{recon, load},
{runtime_tools, load}
]},
{overlay, [
{mkdir, "log"},
{mkdir, "data"},
{mkdir, "log/smpp"},
%{copy, "files/erl", "\{\{erts_vsn\}\}/bin/erl"},
{copy, "files/nodetool", "erts-\{\{erts_vsn\}\}/bin/nodetool"},
{copy, "files/smppsink", "bin/smppsink"},
{copy, "files/sys.config", "releases/\{\{rel_vsn\}\}/sys.config"},
{copy, "files/vm.args", "releases/\{\{rel_vsn\}\}/vm.args"}
]},
{dev_mode, false},
{include_erts, true},
{include_src, false},
{vm_args, false}
]}.