2025-04-16 10:03:13 -03:00

34 lines
869 B
Erlang

{minimum_otp_vsn, "24.0"}.
{erl_opts, [debug_info]}.
{deps, [
{telemetry, "~> 1.0"}
]}.
{profiles, [
{test, [
{erl_opts, [nowarn_export_all]},
%% create junit xml for circleci
{ct_opts, [{ct_hooks, [cth_surefire]}]},
{src_dirs, ["src", "test/support"]}
]}
]}.
{shell, [{apps, [telemetry_poller]}]}.
{project_plugins, [rebar3_ex_doc]}.
{ex_doc, [
{main, "README.md"},
{extras, [<<"README.md">>, <<"CHANGELOG.md">>, <<"LICENSE">>, <<"NOTICE">>]},
{source_url, <<"https://github.com/beam-telemetry/telemetry_poller">>},
{source_ref, <<"v1.2.0">>}
]}.
{hex, [
{doc, #{provider => ex_doc}}
]}.
%% take out warnings for unused exported functions
{xref_checks,[undefined_function_calls, undefined_functions, locals_not_used,
deprecated_function_calls, deprecated_functions]}.