mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
Makefile: add target for wasm and make it part of check
Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
parent
06eac9bbff
commit
c3270af52b
5
Makefile
5
Makefile
@ -32,10 +32,13 @@ build386:
|
|||||||
buildlinuxarm:
|
buildlinuxarm:
|
||||||
GOOS=linux GOARCH=arm ./tool/go install tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled
|
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:
|
buildmultiarchimage:
|
||||||
./build_docker.sh
|
./build_docker.sh
|
||||||
|
|
||||||
check: staticcheck vet depaware buildwindows build386 buildlinuxarm
|
check: staticcheck vet depaware buildwindows build386 buildlinuxarm buildwasm
|
||||||
|
|
||||||
staticcheck:
|
staticcheck:
|
||||||
./tool/go run honnef.co/go/tools/cmd/staticcheck -- $$(./tool/go list ./... | grep -v tempfork)
|
./tool/go run honnef.co/go/tools/cmd/staticcheck -- $$(./tool/go list ./... | grep -v tempfork)
|
||||||
|
Loading…
Reference in New Issue
Block a user