-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathrebar.config
57 lines (50 loc) · 1.23 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,
warnings_as_errors,
warn_export_all,
warn_obsolete_guards,
warn_unused_import
]}.
{project_plugins, [
covertool,
erlfmt,
rebar3_proper,
rebar3_ex_doc
]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{cover_excl_mods, [brotli_nif]}.
{covertool, [
{coverdata_files, ["ct.coverdata", "eunit.coverdata", "proper.coverdata"]}
]}.
{ex_doc, [
{source_url, <<"https://github.com/yjh0502/erl-brotli">>},
{extras, [<<"README.md">>, <<"LICENSE">>]},
{main, <<"readme">>}
]}.
{hex, [
{doc, #{provider => ex_doc}}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
deprecated_function_calls,
deprecated_functions
]}.
{xref_ignores, []}.
{profiles, [
{test, [
{erl_opts, [debug_info, nowarn_export_all, warnings_as_errors]},
{deps, [proper]}
]}
]}.
{pre_hooks, [
{"(linux|darwin|solaris)", compile, "make -C c_src -j"},
{"(freebsd)", compile, "gmake -C c_src"},
{"(linux|darwin|solaris)", proper, "make -C c_src -j tool"},
{"(freebsd)", proper, "gmake -C c_src tool"}
]}.
{post_hooks, [
{"(linux|darwin|solaris)", clean, "make -C c_src clean"},
{"(freebsd)", clean, "gmake -C c_src clean"}
]}.