Updated use of GOPROXY param in Makefile.

This commit is contained in:
genxium
2022-11-28 23:49:46 +08:00
parent ca5ba83b07
commit 9469b27348
2 changed files with 4 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ all: help
GOPROXY=https://mirrors.aliyun.com/goproxy
build:
go build -o $(ROOT_DIR)/$(PROJECTNAME)
GOPROXY=$(GOPROXY) go build -o $(ROOT_DIR)/$(PROJECTNAME)
run: build
./$(PROJECTNAME)