opentelemetry-erlang-contrib/instrumentation/opentelemetry_cowboy/rebar.config

32 lines
947 B
Erlang

{erl_opts, [debug_info]}.
{deps, [
{opentelemetry_api, "~> 1.0.0-rc"},
{opentelemetry_telemetry, "~> 1.0.0-beta"},
{telemetry, "~> 1.0"}
]}.
{project_plugins, [covertool,
erlfmt]}.
{profiles,
[{docs, [{deps, [edown]},
{edoc_opts,
[{doclet, edown_doclet},
{preprocess, true},
{dir, "edoc"},
{subpackages, true}]}]},
{test, [{erl_opts, [nowarn_export_all]},
{deps, [
{opentelemetry, "~> 1.0.0-rc"},
{cowboy, "~> 2.7"},
{cowboy_telemetry, "~> 0.3"}
]},
{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"]}]}.