mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 20:52:25 +00:00
- Change package name general_server to gateway - Changing the structure of directories and packages - Adding vendor to the project
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
|