update makefile

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-05-09 15:13:50 +08:00
parent 95427edbba
commit f26bd7f7f7
No known key found for this signature in database
GPG Key ID: 0F84B2110C500B1F

View File

@ -31,7 +31,7 @@ all: build
.PHONY: fmt-check
fmt-check:
# get all go files and run go fmt on them
# get all go files and run go fmt on them
@diff=$$($(GOFMT) -d $(GOFILES)); \
if [ -n "$$diff" ]; then \
echo "Please run 'make fmt' and commit the result:"; \