mirror of
https://github.com/fatedier/frp.git
synced 2024-12-15 11:10:50 +01:00
22 lines
280 B
Makefile
22 lines
280 B
Makefile
export PATH := $(GOPATH)/bin:$(PATH)
|
|
|
|
all: build
|
|
|
|
build: godep fmt frps frpc
|
|
|
|
godep:
|
|
@go get github.com/tools/godep
|
|
godep restore
|
|
|
|
fmt:
|
|
@godep go fmt ./...
|
|
|
|
frps:
|
|
godep go build -o bin/frps ./cmd/frps
|
|
|
|
frpc:
|
|
godep go build -o bin/frpc ./cmd/frpc
|
|
|
|
test:
|
|
@godep go test ./...
|