forked from open-telemetry/opentelemetry-erlang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
38 lines (30 loc) · 1.39 KB
/
rebar.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{erl_opts, [debug_info]}.
{deps, []}.
{shell, [{apps, [opentelemetry]},
{config, "config/sys.config"}]}.
{project_plugins, [covertool,
%% TODO: figure out why grpcbox_plugin fails to build in elixir github action
%% it isn't needed often so fine to just leave it commented out for now
%% grpcbox_plugin,
erlfmt]}.
{profiles,
[{test, [{erl_opts, [nowarn_export_all]},
{ct_opts, [{ct_hooks, [cth_surefire]}]}]},
{interop, [{deps, [jsone]},
{extra_src_dirs, ["interop"]}]},
{bench, [{deps, [benchee]},
{extra_src_dirs, ["bench"]},
{plugins, [rebar_mix]},
{provider_hooks, [{pre, [{compile, {mix, find_elixir_libs}}]}]}]}]}.
{xref_checks, [undefined_function_calls, undefined_functions,
deprecated_function_calls, deprecated_functions]}.
{xref_ignores, []}.
%% uncomment when dialyzer can be told to ignore the call to "unknown"
%% function release_handler:which_releases/1 in otel_resource_detector
%% {dialyzer, [{warnings, [unknown]}]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files, ["ct.coverdata"]}]}.
{cover_excl_apps, [opentelemetry_api_experimental, opentelemetry_experimental]}.
{cover_excl_mods, [opentelemetry_exporter_trace_service_pb, opentelemetry_trace_service,
opentelemetry_zipkin_pb]}.