aboutsummaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
authorUku Taht <uku.taht@gmail.com>2016-10-07 10:47:20 +0100
committerUku Taht <uku.taht@gmail.com>2016-10-07 10:47:20 +0100
commit5c48263579557bd7f96e833c515af74669ab03d2 (patch)
tree2c353af60fe4ec5f78ccfee2ff1e9d9620c2156d /mix.exs
parentMake map syntax compatible with Erlang/OTP 17 (diff)
Enable elixir when ejabberd used as a mix dependency
Diffstat (limited to '')
-rw-r--r--mix.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mix.exs b/mix.exs
index ee4b60fb2..fc9fcea01 100644
--- 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