File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,6 +141,21 @@ build_linux_arm:
141141build_linux_lambda :
142142 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags ' lambda' -ldflags ' $(EXTLDFLAGS)-s -w $(LDFLAGS)' -o release/linux/lambda/$(DEPLOY_IMAGE )
143143
144+ build_darwin_amd64 :
145+ CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -a -tags ' $(TAGS)' -ldflags ' $(EXTLDFLAGS)-s -w $(LDFLAGS)' -o release/darwin/amd64/$(DEPLOY_IMAGE )
146+
147+ build_darwin_i386 :
148+ CGO_ENABLED=0 GOOS=darwin GOARCH=386 go build -a -tags ' $(TAGS)' -ldflags ' $(EXTLDFLAGS)-s -w $(LDFLAGS)' -o release/darwin/i386/$(DEPLOY_IMAGE )
149+
150+ build_darwin_arm64 :
151+ CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -a -tags ' $(TAGS)' -ldflags ' $(EXTLDFLAGS)-s -w $(LDFLAGS)' -o release/darwin/arm64/$(DEPLOY_IMAGE )
152+
153+ build_darwin_arm :
154+ CGO_ENABLED=0 GOOS=darwin GOARCH=arm GOARM=7 go build -a -tags ' $(TAGS)' -ldflags ' $(EXTLDFLAGS)-s -w $(LDFLAGS)' -o release/darwin/arm/$(DEPLOY_IMAGE )
155+
156+ build_darwin_lambda :
157+ CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -a -tags ' lambda' -ldflags ' $(EXTLDFLAGS)-s -w $(LDFLAGS)' -o release/darwin/lambda/$(DEPLOY_IMAGE )
158+
144159clean :
145160 $(GO ) clean -modcache -x -i ./...
146161 find . -name coverage.txt -delete
You can’t perform that action at this time.
0 commit comments