-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathrebar.config
26 lines (23 loc) · 1.02 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
{lib_dirs, ["deps"]}.
{erl_opts, [debug_info, fail_on_warning, {platform_define, "^[0-9]+", namespaced_types}]}.
{clean_files, ["logs", "build", "include/hamcrest.hrl"]}.
{plugin_dir, "priv/build/plugins"}.
{plugins, [header_generator, eqc_resolver]}.
{xref_checks, []}.
{xref_queries,
[{"((XC - UC) || (XU - X - B))",[]}, %% calls to undefined functions
{"(L - LU)", []}, %% local unused
{"(LU * (X - XU))", [ %% exported functions only used locally
{hamcrest,assert_that,2}, %% NB: we're a library so this is expected...
{hamcrest,assert_that,3},
{hamcrest,check,2},
{hamcrest,describe,2},
{hamcrest,heckle,2},
{hamcrest,match,3},
{hamcrest_matchers,check_member,2}, %% called via apply/3
{hamcrest_matchers,equal_to,1},
{hamcrest_matchers,foreach,1},
{hamcrest_matchers,is_not,1},
{hamcrest_matchers,match_mfa,3},
{hamcrest_matchers,reverse_match_mfa,3}]},
{"(DF * (XU + LU))", []}]}.