aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhref <href@random.sh>2018-12-14 18:14:40 +0100
committerhref <href@random.sh>2018-12-14 18:14:40 +0100
commit0ee51992a89319c3c0d0f7485f1c4e9e2953bc8a (patch)
tree2f51ba2d2447988a6fb8f5decef7e76cd6b94081
parent91236c60c7aa266c1e874ebdd2aa44becfc6709b (diff)
downloadpleroma-0ee51992a89319c3c0d0f7485f1c4e9e2953bc8a.tar.gz
Enable warning_as_errors for tests
-rw-r--r--mix.exs7
1 files changed, 1 insertions, 6 deletions
diff --git a/mix.exs b/mix.exs
index 0fb40e07b..2bd67f2a1 100644
--- a/mix.exs
+++ b/mix.exs
@@ -8,12 +8,7 @@ defmodule Pleroma.Mixfile 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(),