Skip to content

Commit 209045d

Browse files
committed
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 <[email protected]>
1 parent 7888447 commit 209045d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ clean: ## Remove build artifacts. Does not purge docker build envs. Use docker
313313
@echo "Cleaning up old build artifacts"
314314
-rm -rf android/build $(DEBUG_APK) $(RELEASE_AAB) $(RELEASE_TV_AAB) $(LIBTAILSCALE) android/libs *.apk *.aab
315315
@echo "Cleaning cached toolchain"
316-
-rm -rf $(HOME)/.cache/tailscale-go
316+
-rm -rf $(HOME)/.cache/tailscale-go{,.extracted}
317317
-pkill -f gradle
318318

319319
.PHONY: help

0 commit comments

Comments
 (0)