Current section

Files

Jump to
stacktrace_compat rebar.config
Raw

rebar.config

{erl_opts,
[warn_export_all,
warn_export_vars,
warn_missing_spec,
warn_obsolete_guards,
warn_shadow_vars,
warn_unused_import,
%warnings_as_errors,
{platform_define, "^2[1-9]", 'POST_OTP_20'},
{platform_define, "^[3-9]", 'POST_OTP_20'},
{platform_define, "^2[3-9]", 'POST_OTP_22'},
{platform_define, "^[3-9]", 'POST_OTP_22'}
]}.
{minimum_otp_vsn, "19"}.
{dialyzer,
[{plt_include_all_deps, true},
{warnings,
[unmatched_returns,
error_handling,
race_conditions,
underspecs
]}
]}.
{xref_checks,
[undefined_function_calls,
undefined_functions,
locals_not_used,
exports_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{profiles,
[{development,
[{erl_opts,
[nowarn_missing_spec,
nowarnings_as_errors]}
]},
{publishing,
[{plugins,
[{rebar3_hex, "6.6.0"}
]}
]},
{test,
[{erl_opts,
[debug_info,
nowarn_export_all,
nowarn_missing_spec,
nowarnings_as_errors]}
]}
]}.
{cover_enabled, true}.
{edoc_opts,
[{stylesheet_file, "doc/custom_stylesheet.css"}
]}.