mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-12 11:14:40 +00:00
c005f67314
Signed-off-by: Maisem Ali <maisem@tailscale.com>
(cherry picked from commit 9feb483ad3
)
33 lines
933 B
Makefile
33 lines
933 B
Makefile
IMAGE_REPO ?= tailscale/tailscale
|
|
|
|
usage:
|
|
echo "See Makefile"
|
|
|
|
vet:
|
|
go vet ./...
|
|
|
|
updatedeps:
|
|
go run github.com/tailscale/depaware --update tailscale.com/cmd/tailscaled
|
|
go run github.com/tailscale/depaware --update tailscale.com/cmd/tailscale
|
|
|
|
depaware:
|
|
go run github.com/tailscale/depaware --check tailscale.com/cmd/tailscaled
|
|
go run github.com/tailscale/depaware --check tailscale.com/cmd/tailscale
|
|
|
|
buildwindows:
|
|
GOOS=windows GOARCH=amd64 go install tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled
|
|
|
|
build386:
|
|
GOOS=linux GOARCH=386 go install tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled
|
|
|
|
buildlinuxarm:
|
|
GOOS=linux GOARCH=arm go install tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled
|
|
|
|
buildmultiarchimage:
|
|
./build_docker.sh
|
|
|
|
check: staticcheck vet depaware buildwindows build386 buildlinuxarm
|
|
|
|
staticcheck:
|
|
go run honnef.co/go/tools/cmd/staticcheck -- $$(go list ./... | grep -v tempfork)
|