25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Don't add iex to included_applications

- iex is unnecessary for ejabberd in OTP release
- adding iex breaks dialyzer when --enable-elixir
This commit is contained in:
Badlop 2024-07-16 16:26:15 +02:00
parent bd0332c716
commit 0fdbb03f54

View File

@ -2,9 +2,9 @@
{ok, Terms} -> {ok, Terms} ->
Backends = [mssql, mysql, odbc, pgsql, redis, sqlite], Backends = [mssql, mysql, odbc, pgsql, redis, sqlite],
EBs = lists:filter(fun(Backend) -> lists:member({Backend, true}, Terms) end, Backends), EBs = lists:filter(fun(Backend) -> lists:member({Backend, true}, Terms) end, Backends),
Elixirs = case lists:keyfind(elixir, 1, Terms) of Elixirs = case proplists:get_bool(elixir, Terms) of
{elixir, true} -> [elixir, iex, logger, mix]; true -> [elixir, logger, mix];
_ -> [] false -> []
end, end,
ProfileEnvironmentVariable = os:getenv("REBAR_PROFILE"), ProfileEnvironmentVariable = os:getenv("REBAR_PROFILE"),