format and add newline (#3969)

Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
This commit is contained in:
Zou Nengren
2020-06-24 22:48:39 +08:00
committed by GitHub
parent f4a1a0fe8a
commit 8647592786
7 changed files with 37 additions and 30 deletions

View File

@@ -28,6 +28,9 @@ endif
ifeq ($(TEST_TYPE),integration)
( cd test; go test -race ./... )
endif
ifeq ($(TEST_TYPE),fmt)
( echo "fmt"; gofmt -w -s . | grep ".*\.go"; if [ "$$?" = "0" ]; then exit 1; fi )
endif
ifeq ($(TEST_TYPE),plugin)
( cd plugin; go test -race ./... )
endif