diff --git a/Makefile b/Makefile index ac4fdea..92d72dd 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ .DEFAULT_GOAL := buildCmd -.PHONY: fmt vet build +.PHONY: fmt vet buildLib buildCmd test fmt: go fmt ./... @@ -9,3 +9,5 @@ buildLib: vet go build -gcflags="-N -l" ./... buildCmd: buildLib go build -C cmd/ -o re ./... +test: buildCmd + go test -v ./...