- 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>
20 lines
501 B
Elixir
20 lines
501 B
Elixir
# This file is only used by Telemetry as a dependency.
|
|
# Use rebar3 instead for compiling, running tests, etc.
|
|
defmodule Telemetry.MixProject do
|
|
use Mix.Project
|
|
|
|
{:ok, [{:application, :telemetry, props}]} = :file.consult("src/telemetry.app.src")
|
|
@props Keyword.take(props, [:applications, :description, :env, :mod, :vsn])
|
|
|
|
def application do
|
|
@props
|
|
end
|
|
|
|
def project do
|
|
[
|
|
app: :telemetry,
|
|
version: to_string(application()[:vsn]),
|
|
language: :erlang
|
|
]
|
|
end
|
|
end
|