blob: 92d9eda23e27a7114a36b2f826e0523c47129ab6 [file] [log] [blame]
KGO := CGO_ENABLED=0 GOOS=linux go build
.PHONY: default
default: allgo
include ../go/skiaversion/skiaversion.mk
.PHONY: test
test:
go test ./go/...
.PHONY: allgo
allgo: skiaversion
go install -v ./cmd/...
.PHONY: release-goldctl-gcs
release-goldctl-gcs: build-static-goldctl
./release_goldctl
.PHONY: build-static-goldctl
build-static-goldctl:
mkdir -p ./build
rm -f ./build/goldctl
$(KGO) -o build/goldctl -a ./cmd/goldctl/main.go