Current section

Files

Jump to
libsodium rebar.config
Raw

rebar.config

%%% % @format
{erl_opts, [
    debug_info,
    warnings_as_errors
]}.
{deps, []}.
{project_plugins, [{rebar3_ex_doc, "0.3.0"}, {rebar3_hex, "7.4.0"}]}.

{pre_hooks, [
    {"(linux|darwin|solaris)", compile, "make -C c_src"},
    {"(freebsd)", compile, "gmake -C c_src"}
]}.
{post_hooks, [
    {"(linux|darwin|solaris)", clean, "make -C c_src clean distclean"},
    {"(freebsd)", clean, "gmake -C c_src clean distclean"}
]}.

{hex, [{doc, #{provider => ex_doc}}]}.
{ex_doc, "ex_doc.config"}.

%% Include the test suites and their OTP dependencies in success typing analysis.
{dialyzer, [
    {plt_extra_apps, [common_test, crypto, xmerl]}
]}.

%% A library's public exports are entry points for its callers.
{xref_checks, [
    undefined_function_calls,
    undefined_functions,
    locals_not_used,
    deprecated_function_calls,
    deprecated_functions
]}.