解决mac下GOPATH变量读取问题

This commit is contained in:
suguo.yao 2021-01-23 13:57:28 +08:00
parent 32c1c1b96f
commit bd91935a9c
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
.PHONY: proto .PHONY: proto
proto: proto:
protoc -I. -I$(GOPATH)/src/googleapis --swagger_out=logtostderr=true:. --grpc-gateway_out=logtostderr=true:. --go_out=plugins=grpc:proto/ proto/*.proto protoc -I. -I${GOPATH}/src/googleapis --swagger_out=logtostderr=true:. --grpc-gateway_out=logtostderr=true:. --go_out=plugins=grpc:proto/ proto/*.proto