You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2026/04/17 15:53:29 UTC

(couchdb) branch main updated: dev: Update devclean Makefile target (#5970)

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

big-r81 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 a84d08c3f dev: Update devclean Makefile target (#5970)
a84d08c3f is described below

commit a84d08c3f159980f308d0f005dc7788487235d4b
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Fri Apr 17 17:53:23 2026 +0200

    dev: Update devclean Makefile target (#5970)
    
    Update the Makefile target to remove all artifacts
    which are created during development.
---
 Makefile     |  9 ++++++---
 Makefile.win | 15 ++++++---------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/Makefile b/Makefile
index 291c5e569..2b6ec1d9b 100644
--- a/Makefile
+++ b/Makefile
@@ -508,9 +508,12 @@ endif
 .PHONY: devclean
 # target: devclean - Remove dev cluster artifacts
 devclean:
-	@rm -rf dev/lib/*/couch.uri
-	@rm -rf dev/lib/*/data
-	@rm -rf dev/lib/*/etc
+	@rm -rf dev/lib
+	@rm -rf dev/logs
+	@rm -f dev/devnode.boot
+	@rm -f dev/devnode.rel
+	@rm -f dev/devnode.script
+	@rm -f dev/monitor_parent.beam
 
 ################################################################################
 # Misc
diff --git a/Makefile.win b/Makefile.win
index 4f4856f1b..f9d2f1aca 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -463,15 +463,12 @@ endif
 .PHONY: devclean
 # target: devclean - Remove dev cluster artifacts
 devclean:
-	-@del dev\lib\node1\couch.uri >NUL 2>&1 || true
-	-@del dev\lib\node2\couch.uri >NUL 2>&1 || true
-	-@del dev\lib\node3\couch.uri >NUL 2>&1 || true
-	-@rmdir /s/q dev\lib\node1\data >NUL 2>&1 || true
-	-@rmdir /s/q dev\lib\node2\data >NUL 2>&1 || true
-	-@rmdir /s/q dev\lib\node3\data >NUL 2>&1 || true
-	-@rmdir /s/q dev\lib\node1\etc >NUL 2>&1 || true
-	-@rmdir /s/q dev\lib\node2\etc >NUL 2>&1 || true
-	-@rmdir /s/q dev\lib\node3\etc >NUL 2>&1 || true
+	-@rmdir /s/q dev\lib >NUL 2>&1 || true
+	-@rmdir /s/q dev\logs >NUL 2>&1 || true
+	-@del dev\devnode.boot >NUL 2>&1 || true
+	-@del dev\devnode.rel >NUL 2>&1 || true
+	-@del dev\devnode.script >NUL 2>&1 || true
+	-@del dev\monitor_parent.beam >NUL 2>&1 || true
 
 
 ################################################################################