From 9c261d2b073d164d1699cefbe392ad590e359457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rgen=20Brandt?= Date: Thu, 6 Feb 2025 15:17:18 +0100 Subject: [PATCH] create rebar3 test profile --- rebar.config | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rebar.config b/rebar.config index 6a6cf59..c329067 100644 --- a/rebar.config +++ b/rebar.config @@ -1,15 +1,22 @@ {erl_opts, [debug_info]}. -{cover_enabled, true}. + {deps, [{getopt, "1.0.3"}, {jsone, "1.9.0"}]}. + {escript_incl_apps, [getopt, jsone]}. + +{profiles, + [{test, [{cover_enabled, true}]}]}. + {dialyzer, [{warnings, [unmatched_returns, error_handling, underspecs]}, {plt_extra_apps, [getopt, jsone]}]}. + {xref_checks, [undefined_function_calls, undefined_functions, locals_not_used, deprecated_function_calls, deprecated_functions]}. + {project_plugins, [covertool, rebar3_efmt]}.