Current section
Files
Jump to
Current section
Files
divingbells
rebar.config
rebar.config
{erl_opts, [debug_info]}.
{deps, [
erl_bencode
]}.
{escript_incl_apps, [divingbells, erl_bencode]}.
{escript_main_app, divingbells}.
{escript_name, divingbells}.
{escript_emu_args, "%%! +sbtu +A1\n"}.
{profiles, [
{test, [
%% Avoid warnings when test suites use `-compile(export_all)`
{erl_opts, [nowarn_export_all]}
]}
%% prod is the default mode when prod
%% profile is used, so does not have
%% to be explicitly included like this
]}.
{plugins, [rebar3_hex, rebar3_ex_doc, rebar3_codecov, rebar3_auto]}.
{ex_doc, [
{extras, [
{"README.md", #{title => "Overview"}},
{"BACKLOG.md", #{title => "Backlog"}},
{"CHANGELOG.md", #{title => "Changelog"}},
{"LICENSE", #{title => "License"}}
]},
{main, "readme.html"},
{source_url, "https://gitlab.com/erlang-dev/divingBells.git"},
%% {assets, "assets"}
{api_reference, false}
]}.
{provider_hooks,
[
%% Use ct, eunit, or both if you test your project with both frameworks.
%% {post, [{ct, {codecov, analyze}}]},
{post, [{eunit, {codecov, analyze}}]}
]}.
{cover_enabled, true}.
{hex, [
{doc, #{provider => ex_doc}}
]}.
{alias, [
{check, [xref, dialyzer, ex_doc,
{eunit, "-c"}, {cover, "-v --min_coverage=80"}]},
{pipeline, [compile, eunit, ex_doc, cover]}
]}.
{dialyzer, [
{warnings, [
%% Warn about undefined types and unknown functions
unknown
]}
]}.
{xref_checks,[
%% enable most checks, but avoid 'unused calls' which is often
%% very verbose
undefined_function_calls, undefined_functions, locals_not_used,
deprecated_function_calls, deprecated_functions
]}.