Skip to content

Commit

Permalink
fix OS typo
Browse files Browse the repository at this point in the history
  • Loading branch information
XGHeaven committed Jun 18, 2020
1 parent 10e9fa5 commit d22de02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ build-dev-assets:
build: build-web build-server

build-arch:
cd server && GOSO=$(OS) GOARCH=$(ARCH) CGO_ENABLED=0 go build -ldflags "-X main.ENV=production" -o ../build/arch/server-$(OS)-$(ARCH)$(EXT) ./
cd server && GOOS=$(OS) GOARCH=$(ARCH) CGO_ENABLED=0 go build -ldflags "-X main.ENV=production" -o ../build/arch/server-$(OS)-$(ARCH)$(EXT) ./

pack-arch:
bash ./script/pack-arch.sh $(TAG)

build-all-arch: build-darwin build-window build-linux build-android
build-all-arch: build-darwin build-window build-linux

build-darwin:
make build-arch OS=darwin ARCH=amd64

build-window:
make build-arch OS=window ARCH=amd64 EXT=.exe
make build-arch OS=windows ARCH=amd64 EXT=.exe

build-linux:
make build-arch OS=linux ARCH=amd64
Expand Down

0 comments on commit d22de02

Please sign in to comment.