portal/deps/telemetry_poller/rebar.config
Mikael Hugo 35f29f42e3 feat: add flake.nix, .envrc, fix config (runtime.exs), deps compile clean
- flake.nix: Elixir 1.18.4 / OTP 27 / Node 22 dev shell
- .envrc: use flake
- config/config.exs: move fetch_env! to runtime.exs (compile-time safe)
- config/runtime.exs: all secrets loaded at runtime via env vars
- mix.lock: generated after mix deps.get
- All 3 apps compile cleanly

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-09 19:55:48 +02:00

33 lines
866 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"},
{extras, [<<"README.md">>, <<"CHANGELOG.md">>, <<"LICENSE">>, <<"NOTICE">>]},
{source_url, <<"https://github.com/beam-telemetry/telemetry_poller">>},
{source_ref, <<"v1.3.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]}.