Skip to content

Commit

Permalink
Add clean target for .tiltbuild and charts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jont828 committed Aug 24, 2022
1 parent 780c741 commit f73d105
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f73d105

Please sign in to comment.