feat(agent): otp app scaffold with slipstream + toml deps

This commit is contained in:
Carsten 2026-04-21 22:05:49 +02:00
parent 9e55eae6a1
commit 70923eebfa
9 changed files with 140 additions and 0 deletions

34
agent/mix.exs Normal file
View file

@ -0,0 +1,34 @@
defmodule ProxmoxAgent.MixProject do
use Mix.Project
@version "0.1.0"
def project do
[
app: :agent,
version: @version,
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env())
]
end
def application do
[
extra_applications: [:logger, :crypto],
mod: {ProxmoxAgent.Application, []}
]
end
defp deps do
[
{:slipstream, "~> 1.1"},
{:jason, "~> 1.4"},
{:toml, "~> 0.7"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end