24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

Enable elixir when ejabberd used as a mix dependency

This commit is contained in:
Uku Taht 2016-10-07 10:47:20 +01:00
parent d701230555
commit 5c48263579

View File

@ -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