Update Makefile (#739)
This commit is contained in:
parent
b6a2c5a909
commit
e5529d9db4
1 changed files with 4 additions and 0 deletions
4
Makefile
4
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue