-
Notifications
You must be signed in to change notification settings - Fork 126
/
Copy pathrebar.config
41 lines (35 loc) · 1.18 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
39
40
41
{erl_opts, [debug_info]}.
{deps, [
{cowboy_telemetry, "~> 0.4"},
{opentelemetry_api, "~> 1.4"},
{opentelemetry_semantic_conventions, "~> 1.27"},
{opentelemetry_telemetry, "~> 1.1"},
{otel_http, "~> 0.2"},
{telemetry, "~> 1.1"}
]}.
{project_plugins, [covertool,
erlfmt,
rebar3_ex_doc,
rebar3_hex]}.
{hex, [
{doc, #{provider => ex_doc}}
]}.
{ex_doc, [
{source_url, "https://github.com/open-telemetry/opentelemetry-erlang-contrib/tree/main/instrumentation/opentelemetry_cowboy"},
{extras, ["README.md", "LICENSE"]},
{main, "README.md"}]}.
{profiles,
[{test, [{erl_opts, [nowarn_export_all]},
{deps, [
{opentelemetry, "~> 1.5"},
{opentelemetry_exporter, "~> 1.8"},
{cowboy, "~> 2.10"}
]},
{paths, ["src", "test/support"]},
{ct_opts, [{ct_hooks, [cth_surefire]}]}]}]}.
{xref_checks, [undefined_function_calls, undefined_functions,
deprecated_function_calls, deprecated_functions]}.
{xref_ignores, []}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files, ["ct.coverdata"]}]}.