replac go fmt with gofmt command.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-12-31 13:31:37 +08:00
parent 1a45e6eda1
commit daf5a73395
1 changed files with 1 additions and 1 deletions

View File

@ -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)