summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2022-12-20 00:44:25 -0500
committerNick Vatamaniuc <nickva@users.noreply.github.com>2022-12-20 03:15:43 -0500
commitb5da5b66b8e2b2f0fe86ca142f1c45a63b5f9e0f (patch)
tree3db6be34ba29d3f03819c3fce0282e7c1032a323
parentbfd8d55b397925572f83f660d830078924c8e8bd (diff)
downloadcouchdb-b5da5b66b8e2b2f0fe86ca142f1c45a63b5f9e0f.tar.gz
Reuse installed rebar and rebar3 for mix
Instead of having it download its own every time
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e9ab1d223..957d54d8a 100644
--- a/Makefile
+++ b/Makefile
@@ -244,7 +244,7 @@ elixir: elixir-init elixir-check-formatted elixir-credo devclean
.PHONY: elixir-init
elixir-init: MIX_ENV=test
elixir-init: config.erl
- @mix local.rebar --force && mix local.hex --force && mix deps.get
+ @mix local.rebar --force rebar ./bin/rebar && mix local.rebar --force rebar3 ./bin/rebar3 && mix local.hex --force && mix deps.get
.PHONY: elixir-cluster-without-quorum
elixir-cluster-without-quorum: export MIX_ENV=integration