cat-bookmarker/deps/telemetry_poller/rebar.config

27 lines
806 B
Erlang

{erl_opts, [{platform_define, "^19", 'OTP19'}, 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"]}
]},
{docs, [{edoc_opts, [{preprocess, true},
{doclet, edoc_doclet_chunks},
{layout, edoc_layout_chunks},
{dir, "_build/docs/lib/telemetry_poller/doc"}]}
]}
]}.
{shell, [{apps, [telemetry_poller_app]}]}.
%% take out warnings for unused exported functions
{xref_checks,[undefined_function_calls, undefined_functions, locals_not_used,
deprecated_function_calls, deprecated_functions]}.