Current section

Files

Jump to
backwater rebar.config
Raw

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.0"},
{hackney, "1.17.4"}
]}.
{dialyzer,
[{plt_extra_apps,
[cowlib,
public_key,
ranch,
ssl
]},
{warnings,
[unmatched_returns,
error_handling,
race_conditions,
underspecs,
unknown
]}
]}.
{minimum_otp_vsn, "22"}.
{project_plugins,
[{rebar3_hex, "6.10.3"}
]}.
{profiles,
[{development,
[{erl_opts,
[nowarnings_as_errors]},
{xref_checks,
[undefined_function_calls,
undefined_functions,
locals_not_used,
exports_not_used,
deprecated_function_calls,
deprecated_functions]}
]},
{test,
[{erl_opts,
[debug_info,
nowarn_export_all,
nowarn_missing_spec,
nowarnings_as_errors]}
]},
{ci_test,
[{erl_opts,
[{d, 'RUNNING_ON_CI'},
debug_info,
nowarn_export_all,
nowarn_missing_spec,
nowarnings_as_errors]}
]}
]}.
{edoc_opts,
[{stylesheet_file, "doc/custom_stylesheet.css"}
]}.