mirror of https://github.com/fatedier/frp.git
build: fix
This commit is contained in:
parent
7c3e00ed28
commit
0f326449e8
4
Makefile
4
Makefile
|
@ -1,4 +1,5 @@
|
|||
export PATH := $(GOPATH)/bin:$(PATH)
|
||||
export OLDGOPATH := $(GOPATH)
|
||||
export GOPATH := $(shell pwd):$(GOPATH)
|
||||
|
||||
all: build
|
||||
|
@ -6,7 +7,8 @@ all: build
|
|||
build: godep fmt frps frpc
|
||||
|
||||
godep:
|
||||
@go get github.com/tools/godep
|
||||
@GOPATH=$(OLDGOPATH)
|
||||
go get github.com/tools/godep
|
||||
|
||||
fmt:
|
||||
godep go fmt ./...
|
||||
|
|
Loading…
Reference in New Issue