mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
22 lines
322 B
Makefile
22 lines
322 B
Makefile
export PATH := $(GOPATH)/bin:$(PATH)
|
|
export GOPATH := $(shell pwd):$(GOPATH)
|
|
|
|
all: build
|
|
|
|
build: godep fmt frps frpc
|
|
|
|
godep:
|
|
@go get github.com/tools/godep
|
|
|
|
fmt:
|
|
godep go fmt ./...
|
|
|
|
frps:
|
|
godep go build -o bin/frps ./src/frp/cmd/frps
|
|
|
|
frpc:
|
|
godep go build -o bin/frpc ./src/frp/cmd/frpc
|
|
|
|
test:
|
|
godep go test -v ./...
|