fix: add different jobs for windows and darwin with expected Go envs

This commit is contained in:
Lakhan Samani
2021-09-11 11:15:15 +05:30
parent 05cf85e0e5
commit 252aebce4b
2 changed files with 38 additions and 4 deletions

View File

@@ -2,6 +2,6 @@ DEFAULT_VERSION=0.1.0-local
VERSION := $(or $(VERSION),$(DEFAULT_VERSION))
cmd:
cd server && CGO_ENABLED=1 go build -ldflags "-w -X main.Version=$(VERSION)" -o '../build/server'
cd server && go build -ldflags "-w -X main.Version=$(VERSION)" -o '../build/server'
clean:
rm -rf build