You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2024/08/30 04:04:13 UTC
(couchdb) branch main updated: Clean elixir build artifacts with `make clean`
This is an automated email from the ASF dual-hosted git repository.
jaydoane 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 651dcf2e0 Clean elixir build artifacts with `make clean`
651dcf2e0 is described below
commit 651dcf2e02868b83aa53b177829da2bda463b296
Author: Jay Doane <ja...@apache.org>
AuthorDate: Sat Aug 17 17:24:47 2024 -0700
Clean elixir build artifacts with `make clean`
This removes Elixir artifacts from the `_build` directory when
`make clean` is run.
---
Makefile | 1 +
Makefile.win | 1 +
2 files changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index 9a969139e..e7b4e245e 100644
--- a/Makefile
+++ b/Makefile
@@ -467,6 +467,7 @@ install: release
# target: clean - Remove build artifacts
clean:
@$(REBAR) -r clean
+ @mix clean --deps
@rm -rf .rebar/
@rm -f bin/couchjs
@rm -f bin/weatherreport
diff --git a/Makefile.win b/Makefile.win
index bbd2239f2..836a89637 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -424,6 +424,7 @@ install: release
# target: clean - Remove build artifacts
clean:
@$(REBAR) -r clean
+ -@mix clean --deps || true
-@rmdir /s/q .rebar >NUL 2>&1 || true
-@del /f/q bin\couchjs.exe >NUL 2>&1 || true
-@rmdir /s/q src\*\ebin >NUL 2>&1 || true