]> granicus.if.org Git - ejabberd/commitdiff
Enable elixir when ejabberd used as a mix dependency
authorUku Taht <uku.taht@gmail.com>
Fri, 7 Oct 2016 09:47:20 +0000 (10:47 +0100)
committerUku Taht <uku.taht@gmail.com>
Fri, 7 Oct 2016 09:47:20 +0000 (10:47 +0100)
mix.exs

diff --git a/mix.exs b/mix.exs
index ee4b60fb288574ba0f986646ffae573d5b52b26f..fc9fcea01f52a3a31467bf10d0de86164e5525fa 100644 (file)
--- a/mix.exs
+++ b/mix.exs
@@ -36,7 +36,7 @@ defmodule Ejabberd.Mixfile do
   defp erlc_options do
     # Use our own includes + includes from all dependencies
     includes = ["include"] ++ Path.wildcard(Path.join("..", "/*/include"))
-    [:debug_info] ++ Enum.map(includes, fn(path) -> {:i, path} end)
+    [:debug_info, {:d, :ELIXIR_ENABLED}] ++ Enum.map(includes, fn(path) -> {:i, path} end)
   end
 
   defp deps do