From c3270af52b85a8446df37ab4ac8bf2c5f4c6bebc Mon Sep 17 00:00:00 2001 From: Maisem Ali Date: Mon, 15 Aug 2022 07:03:29 -0700 Subject: [PATCH] Makefile: add target for wasm and make it part of check Signed-off-by: Maisem Ali --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1806f92e6..948705e86 100644 --- a/Makefile +++ b/Makefile @@ -32,10 +32,13 @@ build386: buildlinuxarm: GOOS=linux GOARCH=arm ./tool/go install tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled +buildwasm: + GOOS=js GOARCH=wasm ./tool/go install ./cmd/tsconnect/wasm ./cmd/tailscale/cli + buildmultiarchimage: ./build_docker.sh -check: staticcheck vet depaware buildwindows build386 buildlinuxarm +check: staticcheck vet depaware buildwindows build386 buildlinuxarm buildwasm staticcheck: ./tool/go run honnef.co/go/tools/cmd/staticcheck -- $$(./tool/go list ./... | grep -v tempfork)