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 <james@tailscale.com>
pull/505/head
James Tucker 2 weeks ago committed by James Tucker
parent 7888447f3f
commit 209045d4f7

@ -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

Loading…
Cancel
Save