forked from AdRoll/zstd-erlang
-
Notifications
You must be signed in to change notification settings - Fork 1
/
rebar.config
41 lines (33 loc) · 1.24 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
{erl_opts,
[warn_unused_import, warn_export_vars, warnings_as_errors, verbose, report, debug_info]}.
{minimum_otp_vsn, "21"}.
{deps, []}.
{pre_hooks,
[{"(linux|darwin|solaris)", compile, "make MOREFLAGS=-fPIC -C priv/zstd/lib libzstd.a"},
{"(linux|darwin|solaris)", compile, "make -C c_src"},
{"(freebsd)", compile, "gmake MOREFLAGS=-fPIC -C priv/zstd/lib libzstd.a"},
{"(freebsd)", compile, "gmake -C c_src"}]}.
{post_hooks,
[{"(linux|darwin|solaris)", clean, "make -C c_src clean"},
{"(linux|darwin|solaris)", clean, "make -C priv/zstd/lib clean"},
{"(freebsd)", clean, "gmake -C c_src clean"},
{"(freebsd)", clean, "gmake -C priv/zstd/lib clean"}]}.
{dialyzer,
[{warnings,
[unknown, no_return, unmatched_returns, error_handling, missing_return, extra_return]},
{plt_apps, top_level_deps},
{plt_extra_apps, []},
{plt_location, local},
{base_plt_apps, [erts, stdlib, kernel]},
{base_plt_location, global}]}.
{xref_checks,
[undefined_function_calls,
locals_not_used,
deprecated_function_calls,
deprecated_functions]}.
{alias, [{test, [format, lint, hank, xref, dialyzer, eunit, edoc]}]}.
{project_plugins,
[{rebar3_hex, "~> 7.0.7"},
{rebar3_format, "~> 1.3.0"},
{rebar3_lint, "~> 3.1.0"},
{rebar3_hank, "~> 1.4.0"}]}.