You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2022/12/20 06:38:56 UTC
[couchdb] branch reuse-installed-rebars-for-mix created (now dde0456c4)
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a change to branch reuse-installed-rebars-for-mix
in repository https://gitbox.apache.org/repos/asf/couchdb.git
at dde0456c4 Reuse installed rebar and rebar3 for mix
This branch includes the following new commits:
new dde0456c4 Reuse installed rebar and rebar3 for mix
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[couchdb] 01/01: Reuse installed rebar and rebar3 for mix
Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch reuse-installed-rebars-for-mix
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit dde0456c4845c8d3ae0e220fea40431966d16dd0
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Tue Dec 20 00:44:25 2022 -0500
Reuse installed rebar and rebar3 for mix
Instead of having it download its own every time
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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