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 a3ab9325a28f4f44ff0f1204e7ffa5d13dd827e0 Author: Nick Vatamaniuc <vatam...@apache.org> AuthorDate: Tue Sep 17 09:35:45 2024 -0400 Don't fail make clean if hex is not installed `@mix clean --deps` apparently requires hex to be installed. If it's not there, it stops and prompts the user to install it. If configure hasn't run yet, as in the case when building our deb package from the dist tarball, package build fails. This was mitigated in couchdb-pkg by adding hex to `/home/jenkins/.mix` for CI images, but let's also handle it better in the Makefile. 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