This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/main by this push:
     new b5da5b66b Reuse installed rebar and rebar3 for mix
b5da5b66b is described below

commit b5da5b66b8e2b2f0fe86ca142f1c45a63b5f9e0f
Author: Nick Vatamaniuc <[email protected]>
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

Reply via email to