File: Makefile

package info (click to toggle)
golang-github-go-chi-chi 5.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 664 kB
  • sloc: makefile: 19
file content (22 lines) | stat: -rw-r--r-- 490 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.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