-
Notifications
You must be signed in to change notification settings - Fork 13
/
rebar.config
58 lines (50 loc) · 1.01 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
{erl_first_files, ["src/ltest-util.lfe"]}.
{eunit_opts, [verbose]}.
{eunit_compile_opts, [
{src_dirs, ["src", "test"]}
]}.
{deps, [
{lfe, "~> 2.1"},
{color, "~> 1.0", {pkg, erlang_color}}
]}.
{project_plugins, [
{rebar3_lfe, "~> 0.4"},
{rebar3_oscmd, "~> 0.5"}
]}.
{provider_hooks, [
{pre, [{compile, {lfe, compile}}]}
]}.
{xref_checks,[
undefined_function_calls,undefined_functions,locals_not_used,
deprecated_function_calls,deprecated_functions
]}.
{dialyzer, [
{warnings, [unknown]}
]}.
{profiles, [
{test, [
{eunit_opts, [verbose]},
{erl_opts, [{src_dirs, ["src", "test"]}]}
]},
{maintainer, [
{deps, [rebar3_hex]}
]}
]}.
{commands, [
{ltest, "make check-runner-ltest"},
{'deps-dir', "echo $REBAR_DEPS_DIR"}
]}.
{alias, [
{coverage, [
{proper, "-c"},
{cover, "-v --min_coverage=0"}
]},
{check, [
compile,
%%xref,
%%dialyzer,
eunit,
%%coverage,
{oscmd, "ltest"}
]}
]}.