Ignore compilation warnings for undefined module :eldap
authorlink0ff <juri@linkov.net>
Wed, 20 Mar 2019 11:28:06 +0000 (13:28 +0200)
committerlink0ff <juri@linkov.net>
Wed, 20 Mar 2019 11:28:06 +0000 (13:28 +0200)
mix.exs

diff --git a/mix.exs b/mix.exs
index efdf15d3ab8a055d8454b94a8509debe4766bcbc..352620e63ab8974a24530331c7e96e183189e886 100644 (file)
--- a/mix.exs
+++ b/mix.exs
@@ -9,6 +9,7 @@ defmodule Pleroma.Mixfile do
       elixirc_paths: elixirc_paths(Mix.env()),
       compilers: [:phoenix, :gettext] ++ Mix.compilers(),
       elixirc_options: [warnings_as_errors: true],
+      xref: [exclude: [:eldap]],
       start_permanent: Mix.env() == :prod,
       aliases: aliases(),
       deps: deps(),