mirror of
https://github.com/fatedier/frp.git
synced 2026-01-11 22:23:12 +00:00
build: fix
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,4 +1,5 @@
|
|||||||
export PATH := $(GOPATH)/bin:$(PATH)
|
export PATH := $(GOPATH)/bin:$(PATH)
|
||||||
|
export OLDGOPATH := $(GOPATH)
|
||||||
export GOPATH := $(shell pwd):$(GOPATH)
|
export GOPATH := $(shell pwd):$(GOPATH)
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
@@ -6,7 +7,8 @@ all: build
|
|||||||
build: godep fmt frps frpc
|
build: godep fmt frps frpc
|
||||||
|
|
||||||
godep:
|
godep:
|
||||||
@go get github.com/tools/godep
|
@GOPATH=$(OLDGOPATH)
|
||||||
|
go get github.com/tools/godep
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
godep go fmt ./...
|
godep go fmt ./...
|
||||||
|
|||||||
Reference in New Issue
Block a user