1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/ejabberd/elixir-rebar.config
rubicon aa077dc5d2 testing/ejabberd: fix and upgrade vendored elixir
it no longer conflicts with community/elixir, upgraded version
no longer complains about get_stacktrace being removed, fixes
the crash in Elixir.Logger.App, and the missing plugins warnings
at compilation are reduced by compiling rebar_elixir_plugin earlier
2022-06-25 12:52:35 +08:00

21 lines
674 B
Text

%% Using Elixir as a Rebar dependency
%% This configuration file only exists so Elixir can be used
%% as a Rebar dependency, the same happens for the file
%% src/elixir.app.src.
%% In practice, Elixir is structured as OTP where many applications
%% are placed in the lib directory. Since this structure is not
%% supported by default by Rebar, after adding Elixir as a dependency
%% you need to explicitly add it to lib_dirs:
%%
%% {lib_dirs, [
%% "deps/elixir/lib"
%% ]}.
%%
%% Run "make" as the proper compilation step
{post_hooks, [{compile, "make compile"}]}.
%% This prevents rebar_elixir_plugin from recompiling Elixir
{ex_opts, [{src_dirs, [".PHONY"]}]}.