补充测试用例
This commit is contained in:
8
Makefile
8
Makefile
@@ -9,6 +9,7 @@ help:
|
||||
@echo " run Run the application"
|
||||
@echo " build Build the application"
|
||||
@echo " clean Clean generated files"
|
||||
@echo " test Run all tests"
|
||||
@echo " help Show this help message"
|
||||
|
||||
# 运行应用
|
||||
@@ -24,4 +25,9 @@ build:
|
||||
# 清理生成文件
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f bin/pig-farm-controller
|
||||
rm -f bin/pig-farm-controller
|
||||
|
||||
# 运行所有测试
|
||||
.PHONY: test
|
||||
test:
|
||||
go test --count=1 ./...
|
||||
Reference in New Issue
Block a user