forked from potsda.mn/mobilizon
fix: add inets and ssl to extra_applications in test env
Ref https://github.com/voltone/x509/issues/63 and https://github.com/voltone/x509/pull/64/files Issue: https://github.com/phoenixframework/phoenix/issues/5502 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
7cc9a37c78
commit
af46bea7f7
10
mix.exs
10
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
|
||||
|
|
Loading…
Reference in a new issue