Some checks failed
Test / test (1.24.x, ubuntu-latest) (push) Successful in 2m56s
Test / test (1.25.x, ubuntu-latest) (push) Successful in 2m15s
Test / test (1.26.x, ubuntu-latest) (push) Successful in 2m23s
Test / test (1.27.x, ubuntu-latest) (push) Failing after 3m56s
Test / test (1.24.x, windows-latest) (push) Has been cancelled
Test / test (1.25.x, windows-latest) (push) Has been cancelled
Test / test (1.26.x, windows-latest) (push) Has been cancelled
Test / test (1.27.x, windows-latest) (push) Has been cancelled
23 lines
490 B
Makefile
23 lines
490 B
Makefile
.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
|
|
|
|
.PHONY: docs
|
|
docs:
|
|
npx docsify-cli serve ./docs
|