This commit is contained in:
lain 2018-12-10 19:19:40 +01:00
parent c81c74d847
commit b621ebb7a6

11
mix.exs
View file

@ -8,11 +8,12 @@ defmodule Pleroma.Mixfile do
elixir: "~> 1.4", elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env()), elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(), compilers: [:phoenix, :gettext] ++ Mix.compilers(),
elixirc_options: if Mix.env() == :test do elixirc_options:
[] if Mix.env() == :test do
else []
[warnings_as_errors: true] else
end, [warnings_as_errors: true]
end,
start_permanent: Mix.env() == :prod, start_permanent: Mix.env() == :prod,
aliases: aliases(), aliases: aliases(),
deps: deps(), deps: deps(),