Enable warning_as_errors for tests

This commit is contained in:
href 2018-12-14 18:14:40 +01:00
parent 91236c60c7
commit 0ee51992a8
No known key found for this signature in database
GPG key ID: EE8296C1A152C325

View file

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