diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..649fd27 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +GOPATH:=$(shell go env GOPATH) + +.PHONY: test +test: + go test ./... -v -race -bench=. | sed ''/PASS/s//$$(printf "\033[32mPASS\033[0m")/'' | sed ''/FAIL/s//$$(printf "\033[31mFAIL\033[0m")/''