Current section

Files

Jump to
rebar3_lfe rebar.config
Raw

rebar.config

{erl_opts, [
debug_info,
warnings_as_errors,
warn_export_vars,
warn_shadow_vars,
warn_obsolete_guard
]}.
{deps, [
{lfe, "2.2.0"}
]}.
{project_plugins, [
rebar3_hex
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{dialyzer, [
{warnings, [
unknown,
unmatched_returns,
error_handling,
underspecs,
extra_return,
missing_return
]},
{plt_extra_apps, []},
{exclude_apps, [lfe]}
]}.
{profiles, [
{test, [
{erl_opts, [
debug_info,
{d, 'TEST'},
{src_dirs, ["src", "test"]}
]},
{deps, [
{proper, "1.5.0"}
]},
{plugins, [
{rebar3_proper, "0.12.1"}
]},
{ct_opts, [
{sys_config, "test/test.config"},
{verbose, true},
{cover_enabled, true},
{cover_opts, [verbose]}
]},
{cover_enabled, true},
{cover_opts, [
{verbose, true},
{min_coverage, 90}
]},
{cover_excl_mods, [
r3lfe_benchmarks,
r3lfe_properties
]}
]}
]}.
{alias, [
%% run: rebar3 as test check
{check, [
compile,
xref,
dialyzer,
ct,
{proper, "-c"},
{cover, "-v --min_coverage=90"}
]},
%% run: rebar3 as test prop
{prop, [
ct,
{proper, "-c"}
]},
%% run: rebar3 as test coverage
{coverage, [
{ct, "--cover"},
{cover, "-v"}
]},
{publish, [
compile,
{hex, "publish package"}
]}
]}.