Skip to content

Commit 5cb3070

Browse files
authored
Merge pull request #114 from sj26/build-arm64
Also build linux + darwin arm64
2 parents 401a65d + 9d60e49 commit 5cb3070

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ $(GOBIN)/gobump:
2525

2626
.PHONY: cross
2727
cross: $(GOBIN)/goxz
28-
goxz -n $(BIN) -pv=v$(VERSION) -build-ldflags=$(BUILD_LDFLAGS) .
28+
goxz -n $(BIN) -os linux,darwin,windows -arch amd64 -pv=v$(VERSION) -build-ldflags=$(BUILD_LDFLAGS) .
29+
goxz -n $(BIN) -os linux,darwin -arch arm64 -pv=v$(VERSION) -build-ldflags=$(BUILD_LDFLAGS) .
2930

3031
$(GOBIN)/goxz:
3132
cd && go get github.com/Songmu/goxz/cmd/goxz

0 commit comments

Comments
 (0)