Unverified Commit 487d7673 authored by 33cn's avatar 33cn Committed by GitHub

Update Makefile

parent f21b0a13
...@@ -180,7 +180,7 @@ checkgofmt: ## get all go files and run go fmt on them ...@@ -180,7 +180,7 @@ checkgofmt: ## get all go files and run go fmt on them
echo "${files}"; \ echo "${files}"; \
exit 1; \ exit 1; \
fi; fi;
@files=$$(find . -name '*.go' -not -name '*.pb.go' -not -path "./vendor/*" | xargs goimports -l -w); if [ -n "$$files" ]; then \ @files=$$(find . -name '*.go' -not -path "./vendor/*" | xargs goimports -l -w); if [ -n "$$files" ]; then \
echo "Error: 'make fmt' needs to be run on:"; \ echo "Error: 'make fmt' needs to be run on:"; \
echo "${files}"; \ echo "${files}"; \
exit 1; \ exit 1; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment