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 2024/09/17 13:39:50 UTC
(couchdb) 01/01: Don't fail make clena if hex is not installed
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch ignore-missing-hex-in-make-clean
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit e50d51b330705f528e065747c67e92cb7ec93482
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Tue Sep 17 09:35:45 2024 -0400
Don't fail make clena if hex is not installed
`@mix clean --deps` apparently requires hex to be installed. If it's
not, it stops and prompts the user to installed it. If configure
hasn't run yet, like in the case when building our deb package from
the dist tarball, building will fail.
This was mitigatd in couchdb-pkg by adding hex to `/home/jenkins/.mix`
in CI images, but let's also handle it better in the Makefile.
Interestingly enough Makefile.win already has `|| true` added to it so
no need to updated it.
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index e7b4e245e..c93cafab3 100644
--- a/Makefile
+++ b/Makefile
@@ -467,7 +467,7 @@ install: release
# target: clean - Remove build artifacts
clean:
@$(REBAR) -r clean
- @mix clean --deps
+ @mix clean --deps || true
@rm -rf .rebar/
@rm -f bin/couchjs
@rm -f bin/weatherreport