chitralverma commented on code in PR #7181:
URL: https://github.com/apache/opendal/pull/7181#discussion_r2768629901


##########
bindings/python/justfile:
##########
@@ -38,39 +38,42 @@ setup:
 [group('maintenance')]
 clean:
     @echo "{{ BOLD }}--- Cleaning Rust build artifacts (Cargo) ---{{ NORMAL }}"
-    @cargo clean
-    @echo "{{ BOLD }}--- Removing .venv/, build/, dist/ directories, and other 
caches ---{{ NORMAL }}"
-    @rm -rf .venv/ build/ dist/ .pytest_cache/ .mypy_cache/ .hypothesis/ 
.ruff_cache/
-    @echo "{{ BOLD }}--- Removing Python bytecode and compiled extensions 
---{{ NORMAL }}"
-    @find . -type f -name '*.py[co]' -delete \
-        -o -type d -name __pycache__ -exec rm -rf {} + \
-        -o -type f -name '_opendal*.so' -delete
+    @cargo clean --quiet
+    @echo "{{ BOLD }}--- Removing build directories, other caches, python 
bytecode and compiled extensions ---{{ NORMAL }}"
+    @find . \
+        \( -type d \( -name __pycache__ -o -name .venv -o -name .build -o 
-name dist -o -name .pytest_cache -o -name .mypy_cache -o -name .hypothesis -o 
-name .ruff_cache \) -prune -exec rm -rf {} + \) \

Review Comment:
   same logic as before, just done in 1 command now



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to