1. 删除计划单测
2. 增加makefile 生成swagger
This commit is contained in:
8
Makefile
8
Makefile
@@ -10,6 +10,7 @@ help:
|
||||
@echo " build Build the application"
|
||||
@echo " clean Clean generated files"
|
||||
@echo " test Run all tests"
|
||||
@echo " swag Generate swagger docs"
|
||||
@echo " help Show this help message"
|
||||
|
||||
# 运行应用
|
||||
@@ -30,4 +31,9 @@ clean:
|
||||
# 运行所有测试
|
||||
.PHONY: test
|
||||
test:
|
||||
go test --count=1 ./...
|
||||
go test --count=1 ./...
|
||||
|
||||
# 生成swagger文档
|
||||
.PHONY: swag
|
||||
swag:
|
||||
swag init
|
||||
Reference in New Issue
Block a user