fix: update environment

This commit is contained in:
JasterV 2026-03-08 19:06:20 +01:00
parent cdf5dab858
commit 91a754a75b

10
mix.exs
View file

@ -41,7 +41,7 @@ defmodule SpazioSolazzo.MixProject do
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(env) when env in [:test, :ci], do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Specifies your project dependencies.
@ -57,7 +57,7 @@ defmodule SpazioSolazzo.MixProject do
{:ash_state_machine, "~> 0.2"},
{:bandit, "~> 1.5"},
{:bcrypt_elixir, "~> 3.0"},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test, :ci], runtime: false},
{:dns_cluster, "~> 0.2.0"},
{:ecto_sql, "~> 3.13"},
{:esbuild, "~> 0.10", runtime: Mix.env() == :dev},
@ -69,9 +69,9 @@ defmodule SpazioSolazzo.MixProject do
app: false,
compile: false,
depth: 1},
{:igniter, "~> 0.6", only: [:dev, :test]},
{:igniter, "~> 0.6", only: [:dev, :test, :ci]},
{:jason, "~> 1.2"},
{:lazy_html, ">= 0.1.0", only: :test},
{:lazy_html, ">= 0.1.0", only: [:test, :ci]},
{:live_debugger, "~> 0.5", only: [:dev]},
{:oban, "~> 2.18"},
{:phoenix, "~> 1.8.3"},
@ -85,7 +85,7 @@ defmodule SpazioSolazzo.MixProject do
{:postgrex, ">= 0.0.0"},
{:req, "~> 0.5"},
{:resend, "~> 0.4.0"},
{:sourceror, "~> 1.8", only: [:dev, :test]},
{:sourceror, "~> 1.8", only: [:dev, :test, :ci]},
{:swoosh, "~> 1.16"},
{:tailwind, "~> 0.3", runtime: Mix.env() == :dev},
{:telemetry_metrics, "~> 1.0"},