From 99bf1487ae078afa285a915111865ce3386864bf Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Sat, 7 Oct 2023 15:41:28 +0000 Subject: [PATCH] build: make `release` only build the binaries --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0722fea..8d495d7 100644 --- a/Makefile +++ b/Makefile @@ -48,8 +48,6 @@ printvars: .PHONY: release wrapup-and-checksum check-git-clean sign clean release: clean - # no cross-platform support for target test - $(MAKE) test-go $(MAKE) bins-all $(MAKE) noarch @@ -193,7 +191,7 @@ download-circleci-release: ##################### BINARIES ##################### .PHONY: bins-all lint test-go test-platform cover-merge cover-html vet zrepl-bin test-platform-bin generate-platform-test-list -BINS_ALL_TARGETS := zrepl-bin test-platform-bin vet lint +BINS_ALL_TARGETS := zrepl-bin test-platform-bin GO_SUPPORTS_ILLUMOS := $(shell $(GO) version | gawk -F '.' '/^go version /{split($$0, comps, " "); split(comps[3], v, "."); if (v[1] == "go1" && v[2] >= 13) { print "illumos"; } else { print "noillumos"; }}') bins-all: $(MAKE) $(BINS_ALL_TARGETS) GOOS=freebsd GOARCH=amd64