From 6f5af1351de68387a581667ecb497f930da5d676 Mon Sep 17 00:00:00 2001 From: bichanna Date: Sun, 17 Jul 2022 10:17:34 -0400 Subject: [PATCH] Update Makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 970a2196..e0f18c7d 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,19 @@ +.PHONY: all all: @echo "**********************************************************" @echo "** chi build tool **" @echo "**********************************************************" +.PHONY: test test: go clean -testcache && $(MAKE) test-router && $(MAKE) test-middleware +.PHONY: test-router test-router: go test -race -v . +.PHONY: test-middleware test-middleware: go test -race -v ./middleware