File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11SHELL := /bin/bash
22
33# Build targets
4- TARGETS ?= darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 linux/ppc64le linux/s390x windows/amd64
5- TARGET_OBJS ?= darwin-amd64.tar.gz darwin-amd64.tar.gz.sha256 linux-amd64.tar.gz linux-amd64.tar.gz.sha256 linux-386.tar.gz linux-386.tar.gz.sha256 linux-arm.tar.gz linux-arm.tar.gz.sha256 linux-arm64.tar.gz linux-arm64.tar.gz.sha256 linux-ppc64le.tar.gz linux-ppc64le.tar.gz.sha256 linux-s390x.tar.gz linux-s390x.tar.gz.sha256 windows-amd64.zip windows-amd64.zip.sha256
4+ TARGETS ?= darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 windows/amd64
5+ TARGET_OBJS ?= darwin-amd64.tar.gz darwin-amd64.tar.gz.sha256 linux-amd64.tar.gz linux-amd64.tar.gz.sha256 linux-386.tar.gz linux-386.tar.gz.sha256 linux-arm.tar.gz linux-arm.tar.gz.sha256 linux-arm64.tar.gz linux-arm64.tar.gz.sha256 windows-amd64.zip windows-amd64.zip.sha256
66
77# Go options
88GO ?= go
2727
2828build-cross : LDFLAGS += -extldflags "-static"
2929build-cross :
30- CGO_ENABLED=0 gox -parallel=3 -output=" _dist/{{.OS}}-{{.Arch}}/ $( BINARIES ) " -osarch=' $(TARGETS)' $(GOFLAGS ) $(if $(TAGS ) ,-tags '$(TAGS ) ',) -ldflags ' $(LDFLAGS)'
30+ CGO_ENABLED=0 gox -parallel=3 -output=" _dist/$( BINARIES ) - {{.OS}}-{{.Arch}}" -osarch=' $(TARGETS)' $(GOFLAGS ) $(if $(TAGS ) ,-tags '$(TAGS ) ',) -ldflags ' $(LDFLAGS)'
3131
3232clean :
3333 @rm -rf $(BINDIR ) _dist/
You can’t perform that action at this time.
0 commit comments