go-sample-webpage/vendor/github.com/go-chi/chi/v5/Makefile

19 lines
421 B
Makefile
Raw Normal View History

2021-11-03 01:10:36 +00:00
all:
@echo "**********************************************************"
@echo "** chi build tool **"
@echo "**********************************************************"
test:
go clean -testcache && $(MAKE) test-router && $(MAKE) test-middleware
test-router:
go test -race -v .
test-middleware:
go test -race -v ./middleware
.PHONY: docs
docs:
npx docsify-cli serve ./docs