forked from pierreis/erlang-xxhash
-
Notifications
You must be signed in to change notification settings - Fork 2
/
rebar.config
38 lines (28 loc) · 958 Bytes
/
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
{erl_opts,
[warn_unused_import, warn_export_vars, warnings_as_errors, verbose, report, debug_info]}.
{clean_files, [".eunit", "ebin/*.beam"]}.
{eunit_opts, [verbose]}.
{xref_checks, [fail_on_warning, undefined_function_calls]}.
{edoc_opts, [{stylesheet_file, "./priv/edocs.css"}]}.
{pre_hooks,
[{"(linux|darwin|solaris)", compile, "make -C c_src"},
{"(freebsd|openbsd)", compile, "gmake -C c_src"}]}.
{post_hooks,
[{"(linux|darwin|solaris)", clean, "make -C c_src clean"},
{"(freebsd|openbsd)", clean, "gmake -C c_src clean"}]}.
{project_plugins,
[{rebar3_hex, "~> 6.11.5"},
{rebar3_format, "~> 1.0.1"},
{rebar3_lint, "~> 0.4.0"},
{rebar3_hank, "~> 1.1.2"}]}.
{dialyzer,
[{warnings,
[unknown,
no_return,
unmatched_returns,
error_handling,
underspecs,
missing_return,
extra_return]}]}.
{alias, [{test, [compile, format, lint, dialyzer, eunit, edoc]}]}.
{format, [{files, ["*.config", "src/*", "test/*"]}]}.