2021-10-06 19:36:22 +00:00
|
|
|
{erl_opts, [debug_info]}.
|
|
|
|
{deps, [
|
2021-12-28 23:39:06 +00:00
|
|
|
{cowboy_telemetry, "~> 0.4"},
|
2022-01-05 01:58:06 +00:00
|
|
|
{opentelemetry_api, "~> 1.0"},
|
2022-06-03 16:54:37 +00:00
|
|
|
{opentelemetry_telemetry, "~> 1.0"},
|
2021-10-06 19:36:22 +00:00
|
|
|
{telemetry, "~> 1.0"}
|
|
|
|
]}.
|
|
|
|
|
|
|
|
{project_plugins, [covertool,
|
2023-03-17 16:36:26 +00:00
|
|
|
erlfmt,
|
|
|
|
rebar3_hex]}.
|
2021-10-06 19:36:22 +00:00
|
|
|
{profiles,
|
|
|
|
[{docs, [{deps, [edown]},
|
|
|
|
{edoc_opts,
|
2021-10-15 20:01:11 +00:00
|
|
|
[{preprocess, true},
|
|
|
|
{doclet, edoc_doclet_chunks},
|
|
|
|
{layout, edoc_layout_chunks},
|
|
|
|
{dir, "_build/default/lib/opentelemetry_cowboy/doc"},
|
2021-10-06 19:36:22 +00:00
|
|
|
{subpackages, true}]}]},
|
|
|
|
{test, [{erl_opts, [nowarn_export_all]},
|
|
|
|
{deps, [
|
2022-01-05 01:58:06 +00:00
|
|
|
{opentelemetry, "~> 1.0"},
|
|
|
|
{opentelemetry_exporter, "~> 1.0"},
|
2021-12-28 23:39:06 +00:00
|
|
|
{cowboy, "~> 2.7"}
|
2021-10-06 19:36:22 +00:00
|
|
|
]},
|
|
|
|
{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}.
|
2021-12-28 23:39:06 +00:00
|
|
|
{covertool, [{coverdata_files, ["ct.coverdata"]}]}.
|