This commit is contained in:
lain 2018-12-10 19:19:40 +01:00
parent c81c74d847
commit b621ebb7a6
1 changed files with 6 additions and 5 deletions

11
mix.exs
View File

@ -8,11 +8,12 @@ def project 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(),