Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

Commit 921981f

Browse files
committed
updated makefile
1 parent 3bba097 commit 921981f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ WAILS ?= $(GOPATH)/bin/wails
99
build:
1010
env CGO_ENABLED=1 $(WAILS) build -trimpath -ldflags="-s -w -X 'main.envName=production' -X 'main.version=$(VERSION)'"
1111

12+
.PHONY: build-amd64
13+
build-amd64:
14+
env GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 $(WAILS) build -trimpath -ldflags="-s -w -X 'main.envName=production' -X 'main.version=$(VERSION)'"
15+
1216
.PHONY: build-server
1317
build-server:
1418
env CGO_ENABLED=1 go build -trimpath -ldflags="-s -w -X 'main.envName=production' -X 'main.build=server' -X 'main.version=$(VERSION)'"

0 commit comments

Comments
 (0)