Current section
Files
Jump to
Current section
Files
rebar.config
{cover_enabled, true}.
{erl_opts,
[%bin_opt_info,
warn_export_all,
warn_export_vars,
warn_missing_spec,
warn_obsolete_guards,
warn_shadow_vars,
warn_unused_import,
warnings_as_errors,
{platform_define, "^((2[3-9])|([3-9]))", 'POST_OTP_22'},
{platform_define, "^2[23]\\.", 'NO_BUILTIN_NONEMPTY_BINARY'}
]}.
{deps,
[{cowboy, "~> 2.9"},
{hackney, "~> 1.17"}
]}.
{dialyzer,
[{plt_extra_apps,
[cowlib,
public_key,
ranch,
ssl
]},
{warnings,
[unmatched_returns,
error_handling,
underspecs,
unknown
]}
]}.
{minimum_otp_vsn, "22"}.
{project_plugins,
[{rebar3_ex_doc, "0.2.20"},
{rebar3_hex, "7.0.7"}
]}.
%% == Profiles ==
{profiles, [
{shell, [
{erl_opts, [
nowarn_missing_spec,
nowarnings_as_errors
]},
{deps, [
{recon, "~> 2.5"}
]},
{shell, [
{apps, [backwater]},
{config, "shell.config"}
]}
]},
{test, [
{erl_opts, [
debug_info,
nowarn_export_all,
nowarn_missing_spec,
nowarnings_as_errors
]},
{deps, [
{recon, "~> 2.5"}
]},
{cover_enabled, true},
{cover_opts, [verbose]}
]},
{ranch2, [
{deps, [
{ranch, "~> 2.0"}
]}
]}
]}.
%% == ex_doc +++
{ex_doc, [
{source_url, <<"https://github.com/g-andrade/backwater">>},
{extras, [<<"README.md">>, <<"CHANGELOG.md">>, <<"MIGRATION.md">>, <<"LICENSE">>]},
{main, <<"readme">>},
{proglang, erlang}
]}.
{hex, [
{doc, #{
provider => ex_doc
}}
]}.