From f73d1059a00ed378b19274fd78fa9636b90c83a2 Mon Sep 17 00:00:00 2001 From: Jonathan Tong Date: Wed, 24 Aug 2022 18:12:34 -0400 Subject: [PATCH] Add clean target for .tiltbuild and charts --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index f8d9364daf42..7a325bf90c09 100644 --- a/Makefile +++ b/Makefile @@ -945,12 +945,22 @@ set-manifest-image: clean: ## Remove all generated files $(MAKE) clean-bin $(MAKE) clean-book + $(MAKE) clean-tilt + $(MAKE) clean-charts .PHONY: clean-bin clean-bin: ## Remove all generated binaries rm -rf $(BIN_DIR) rm -rf $(TOOLS_BIN_DIR) +.PHONY: clean-tilt +clean-tilt: ## Remove all files in .tiltbuild + rm -rf ./tiltbuild + +.PHONY: clean-charts +clean-charts: ## Remove all local copies of Helm charts in ./hack/observability + (for path in "./hack/observability/*"; do rm -rf $$path/charts ; done) + .PHONY: clean-book clean-book: ## Remove all generated GitBook files rm -rf ./docs/book/_book