update JetBrains License Server Makefile

This commit is contained in:
2018-01-22 18:48:38 +08:00
parent 92a372dcef
commit c3fa7856e8
2 changed files with 17 additions and 19 deletions

View File

@@ -3,9 +3,7 @@ GOARCH := $(shell go env | awk -F= '$$1=="GOARCH" {print $$2}' | awk -F '"' '{pr
.PHONY: build
build:
echo $(strip $(GOOS))-2
go build -ldflags "-s -w" -o JetBrainsLicenseServer_$(strip $(GOOS))_$(strip $(GOARCH))
@upx JetBrainsLicenseServer_$(strip $(GOOS))_$(strip $(GOARCH))
@go build -ldflags "-s -w" -o JetBrainsLicenseServer_$(strip $(GOOS))_$(strip $(GOARCH))
.PHONY: amd64
amd64: