Current section

Files

Jump to
nextroll_erlcloud rebar.config
Raw

rebar.config

%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
{erl_opts,
[debug_info,
{platform_define, "^19.|^2", 'ERLANG_OTP_VERSION_19'},
{platform_define, "^22.|^2", 'ERLANG_OTP_VERSION_22'},
strict_validation,
warn_bif_clash,
warn_deprecated_function,
warn_export_all,
warn_export_vars,
warn_exported_vars,
warn_obsolete_guard,
warn_shadow_vars,
warn_unused_import,
warn_unused_function,
warn_unused_record,
warn_unused_vars]}.
{deps, [
{jsx, "3.1.0"},
{eini, "1.2.9"},
{base16, "2.0.0"}
]}.
{overrides,
[
%% do not pull in the covertool plugin or repo, cause it fetches rebar and
%% breaks rebar3!
{override, eini, [{plugins, []},{deps, []}]}
]}.
{profiles, [
{test, [{deps, [{meck, "0.9.2"}]}]}
,{warnings, [{erl_opts, [warnings_as_errors]}]}
]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{project_plugins, [{rebar3_hex, "~> 6.11.3"}]}.