forked from AkkomaGang/akkoma
Merge branch 'tests-warning-as-errors' into 'develop'
Enable warnings_as_errors for tests See merge request pleroma/pleroma!548
This commit is contained in:
commit
7281ab0b3c
1 changed files with 1 additions and 6 deletions
7
mix.exs
7
mix.exs
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue