From 18dff5ee4c041944eabf4e65c2db8c083628900a Mon Sep 17 00:00:00 2001 From: Tobias Reiher Date: Thu, 18 Jul 2024 14:01:48 +0200 Subject: [PATCH] Improve cleaning of caches Ref. None --- .gitignore | 2 +- Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 696f56bd9..57dced4e4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,13 +3,13 @@ *.egg-info *.o *.pyc +.*_cache .bin .cargo-home .coverage .coverage.* .env .hypothesis -.mypy_cache .venv* .vscode/configurationCache.log /contrib diff --git a/Makefile b/Makefile index 9abdab97e..993401c92 100644 --- a/Makefile +++ b/Makefile @@ -635,7 +635,8 @@ audit: $(RFLX) rapidflux_devel .PHONY: clean clean_build clean_all clean: - rm -rf $(BUILD_DIR) .coverage .coverage.* .hypothesis .mypy_cache .pytest_cache .ruff_cache doc/language_reference/build doc/user_guide/build + rm -rf $(BUILD_DIR) .coverage .coverage.* .hypothesis doc/language_reference/build doc/user_guide/build + find -name ".*_cache" -exec rm -vrf {} \; $(MAKE) -C examples/apps/wireguard clean $(MAKE) -C examples/apps/ping clean $(MAKE) -C examples/apps/dhcp_client clean