-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
57 lines (51 loc) · 1.48 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
{erl_opts, [
debug_info,
warn_unused_vars,
warn_shadow_vars,
warn_unused_export,
warn_unused_function,
warn_unused_record,
warn_deprecated_function,
warn_deprecated_type,
warn_obsolete_guard,
strict_validation,
warn_export_vars,
warn_exported_vars,
warn_untyped_record,
fail_on_warning
]}.
{deps, [
{cowboy, {git, "https://github.com/ninenines/cowboy", {tag, "1.0.3"}}},
{erlcloud, {git, "https://github.com/gleber/erlcloud.git", {tag, "0.12.0"}}},
{jsx, {git, "https://github.com/talentdeficit/jsx.git", {tag, "2.8.0"}}}
]}.
{relx, [{release, {memebot, "semver"}, [memebot, sasl]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true},
{overlay, [{copy, "priv/memebot", "priv/memebot"},
{copy, "priv/ron-burgundy.jpg", "priv/ron-burgundy.jpg"}]}]
}.
{pre_hooks, [{"(linux|darwin|solaris)", compile, "make -C c_src"}]}.
{post_hooks, [{"(linux|darwin|solaris)", clean, "make -C c_src clean"}]}.
{xref_warnings, true}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{profiles, [
{prod, [
{relx, [{dev_mode, false}, {include_erts, true}]}
]},
{test, [
{deps, [
{proper, {git, "https://github.com/manopapad/proper.git", {branch, master}}},
{meck, {git, "https://github.com/eproxus/meck.git", {tag, "0.8.3"}}}
]}
]}
]}.