From 209045d4f7e6c00580eac9bedcb692e1e52e8038 Mon Sep 17 00:00:00 2001 From: James Tucker Date: Fri, 13 Sep 2024 15:35:50 -0700 Subject: [PATCH] Makefile: remove go toolchain version marker in clean as well The go wrapper script in tool/go assumes that .extracted is representative of the state of the toolchain directory, so it must be removed when the toolchain directory is removed. Updates #501 Signed-off-by: James Tucker --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9ae8976..852c1d2 100644 --- a/Makefile +++ b/Makefile @@ -313,7 +313,7 @@ clean: ## Remove build artifacts. Does not purge docker build envs. Use docker @echo "Cleaning up old build artifacts" -rm -rf android/build $(DEBUG_APK) $(RELEASE_AAB) $(RELEASE_TV_AAB) $(LIBTAILSCALE) android/libs *.apk *.aab @echo "Cleaning cached toolchain" - -rm -rf $(HOME)/.cache/tailscale-go + -rm -rf $(HOME)/.cache/tailscale-go{,.extracted} -pkill -f gradle .PHONY: help