mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Enable warning_as_errors for tests
This commit is contained in:
parent
91236c60c7
commit
0ee51992a8
1 changed files with 1 additions and 6 deletions
7
mix.exs
7
mix.exs
|
@ -8,12 +8,7 @@ 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:
|
elixirc_options: [warnings_as_errors: true],
|
||||||
if Mix.env() == :test do
|
|
||||||
[]
|
|
||||||
else
|
|
||||||
[warnings_as_errors: true]
|
|
||||||
end,
|
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
aliases: aliases(),
|
aliases: aliases(),
|
||||||
deps: deps(),
|
deps: deps(),
|
||||||
|
|
Loading…
Reference in a new issue