forgejo/vendor/github.com/go-chi/chi/v5/Makefile

19 lines
421 B
Makefile
Raw Normal View History

2021-10-14 04:50:23 +02: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