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 <[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