diff --git a/mix.exs b/mix.exs index a87f2084b..f2a45055c 100644 --- a/mix.exs +++ b/mix.exs @@ -80,10 +80,18 @@ defmodule Mobilizon.Mixfile do def application do [ mod: {Mobilizon, []}, - extra_applications: [:logger, :runtime_tools, :guardian, :geolix, :crypto, :cachex] + extra_applications: extra_applications(Mix.env()) ] end + defp extra_applications(:test) do + extra_applications(:prod) ++ [:inets, :ssl] + end + + defp extra_applications(_env) do + [:logger, :runtime_tools, :guardian, :geolix, :crypto, :cachex] + end + def copy_files(%{path: target_path} = release) do File.cp_r!("./rel/overlays", target_path) release