diff options
author | Stu Tomlinson <stu@nosnilmot.com> | 2020-09-21 15:14:12 +0100 |
---|---|---|
committer | Stu Tomlinson <stu@nosnilmot.com> | 2020-09-21 15:14:12 +0100 |
commit | 0fc1aea379924b6f83f274f173d0bbd163cae1c2 (patch) | |
tree | b35f01e07b343f11bd9c91d4b6726d8b1d2cc2e5 /rebar.config | |
parent | rebar3 plugin to support configure-deps command (#3392) (diff) |
rebar3 support for main build process
This adds support for building, and installing, ejabberd using rebar3
A --with-rebar=/path/to/rebar3 option is added to configure to specify
which rebar to use
rebar2 compatibility is maintained, and the bundled rebar2 is still
used by default
Diffstat (limited to 'rebar.config')
-rw-r--r-- | rebar.config | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rebar.config b/rebar.config index edbb5f1c..ebbe31ca 100644 --- a/rebar.config +++ b/rebar.config @@ -120,8 +120,10 @@ {if_var_true, elixir, rebar_exunit} ]}}. -{if_var_true, elixir, - {lib_dirs, ["deps/elixir/lib"]}}. +{if_rebar3, {if_var_true, elixir, + {lib_dirs, ["_build/default/lib/elixir/lib"]}}}. +{if_not_rebar3, {if_var_true, elixir, + {lib_dirs, ["deps/elixir/lib"]}}}. {if_var_true, elixir, {src_dirs, ["include"]}}. |