Current section

Files

Jump to
parthenon rebar.config
Raw

rebar.config

{minimum_otp_vsn, "21.0"}.
{alias, [
{check, [
{fmt, "-c"},
xref,
dialyzer,
gradualizer,
{proper, "-c"},
{eunit, "-c"},
{ct, "-c"},
{cover, "-v"}
]}
]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.
{coveralls_coverdata, [
"_build/test/cover/ct.coverdata",
"_build/test/cover/eunit.coverdata",
"_build/test/cover/proper.coverdata"
]}.
{coveralls_service_name, "github"}.
{deps, []}.
{erlfmt, [
{files, ["{src,include,test}/**/*.{hrl,erl}"]},
{exclude_files, [
"src/parthenon_schema_lexer.erl",
"src/parthenon_schema_parser.erl"
]}
]}.
{edoc_opts, [
{app_default, "https://www.erlang.org/doc/man"},
{image, ""},
{preprocess, true},
{title, "parthenon"}
]}.
{erl_opts, [
debug_info,
warn_unused_import,
warn_as_errors
]}.
{gradualizer_opts, [
{i, "include"},
print_file,
% verbose,
% stop_on_first_error,
{include, [
"src/*.erl"
]},
{exclude, [
"src/parthenon_schema_lexer.erl",
"src/parthenon_schema_parser.erl"
]}
]}.
{plugins, [
{erlfmt, {git, "https://github.com/WhatsApp/erlfmt.git", {tag, "v1.0.0"}}},
{gradualizer,
{git, "https://github.com/josefs/Gradualizer.git",
{ref, "e226803c023bf9ceb94dfb517068208af37b9d7f"}}},
{rebar3_proper, {git, "https://github.com/ferd/rebar3_proper.git", {tag, "0.12.1"}}},
rebar3_hex,
coveralls
]}.
{profiles, [
{test, [
{deps, [
{meck, {git, "https://github.com/eproxus/meck.git", {tag, "0.9.2"}}},
{proper, {git, "https://github.com/proper-testing/proper.git", {tag, "v1.4"}}},
{unite, {git, "https://github.com/eproxus/unite.git", {tag, "0.3.1"}}},
{coveralls, "2.2.0"}
]},
{erl_opts, [export_all, nowarn_export_all, debug_info]},
{eunit_opts, [no_tty, {report, {unite_compact, []}}]}
]}
]}.
{xref_checks, [
deprecated_functions,
deprecated_function_calls,
locals_not_used,
undefined_function_calls,
undefined_functions
]}.
{xref_ignores, [
parthenon_schema_lexer,
parthenon_schema_parser
]}.