add common unit test

This commit is contained in:
root committed 2020-01-14 15:00:01 +00:00
1 parent 9b9edf08d8
commit ed4ee637ab
4 files changed
+55 -4

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
.PHONY: all
all: clean build
build:
go build -o tcp-proxy -ldflags "-w -s" .
clean:
go clean && rm -rf tcp-proxy
test:
go test -v ./...