Skip to content

Commit

Permalink
Don't add iex to included_applications
Browse files Browse the repository at this point in the history
- iex is unnecessary for ejabberd in OTP release
- adding iex breaks dialyzer when --enable-elixir
  • Loading branch information
badlop committed Jul 16, 2024
1 parent 5b40d20 commit 7d5656d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ejabberd.app.src.script
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
{ok, Terms} ->
Backends = [mssql, mysql, odbc, pgsql, redis, sqlite],
EBs = lists:filter(fun(Backend) -> lists:member({Backend, true}, Terms) end, Backends),
Elixirs = case lists:keyfind(elixir, 1, Terms) of
{elixir, true} -> [elixir, iex, logger, mix];
_ -> []
Elixirs = case proplists:get_bool(elixir, Terms) of
true -> [elixir, logger, mix];
false -> []
end,

ProfileEnvironmentVariable = os:getenv("REBAR_PROFILE"),
Expand Down

0 comments on commit 7d5656d

Please sign in to comment.