From e67f94b87a6ef51a604f3b929031f346ae1b578d Mon Sep 17 00:00:00 2001 From: MetaCubeX Date: Sat, 19 Mar 2022 15:01:49 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=86=85=E5=AE=B9]=20=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E8=87=B3=E6=9C=80=E6=96=B0v1.10.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 833b8ca4..500d2bac 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,9 @@ GOBUILD=CGO_ENABLED=0 go build -trimpath -ldflags '-X "github.com/Dreamacro/clas -w -s -buildid=' PLATFORM_LIST = \ - darwin-amd64 \ + darwin-amd64v1 \ + darwin-amd64v2 \ + darwin-amd64v3 \ darwin-arm64 \ linux-amd64v1 \ linux-amd64v2 \ @@ -43,9 +45,15 @@ all:linux-amd64 linux-arm64\ docker: GOAMD64=v3 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@ -darwin-amd64: +darwin-amd64v3: GOARCH=amd64 GOOS=darwin GOAMD64=v3 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@ +darwin-amd64v2: + GOARCH=amd64 GOOS=darwin GOAMD64=v2 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@ + +darwin-amd64v1: + GOARCH=amd64 GOOS=darwin GOAMD64=v1 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@ + darwin-arm64: GOARCH=arm64 GOOS=darwin $(GOBUILD) -o $(BINDIR)/$(NAME)-$@