replac go fmt with gofmt command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -38,7 +38,7 @@ endif
|
|||||||
@echo "Already set ANDROID_API_KEY and ANDROID_TEST_TOKEN globale variable."
|
@echo "Already set ANDROID_API_KEY and ANDROID_TEST_TOKEN globale variable."
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
go fmt $(PACKAGES)
|
find . -name "*.go" -type f -not -path "./vendor/*" | xargs gofmt -s -w
|
||||||
|
|
||||||
vet:
|
vet:
|
||||||
go vet $(PACKAGES)
|
go vet $(PACKAGES)
|
||||||
|
|||||||
Reference in New Issue
Block a user