This commit is contained in:
lain 2019-05-22 10:40:15 +02:00
parent b6cf62ddea
commit db9a82d168

12
mix.exs
View File

@ -41,11 +41,13 @@ defmodule Pleroma.Mixfile do
# Type `mix help compile.app` for more information. # Type `mix help compile.app` for more information.
def application do def application do
extra_applications = [:logger, :runtime_tools, :comeonin, :quack] extra_applications = [:logger, :runtime_tools, :comeonin, :quack]
extra_applications = if Application.get_env(:esshd, :enabled, false) do
[:esshd | extra_applications] extra_applications =
else if Application.get_env(:esshd, :enabled, false) do
extra_applications [:esshd | extra_applications]
end else
extra_applications
end
[ [
mod: {Pleroma.Application, []}, mod: {Pleroma.Application, []},