Commit cae3fb08 authored by madengji's avatar madengji

modify protobuf

parent 1e22baba
...@@ -213,15 +213,16 @@ auto_ci_after: clean fmt protobuf ...@@ -213,15 +213,16 @@ auto_ci_after: clean fmt protobuf
.PHONY: auto_ci .PHONY: auto_ci
auto_fmt := find . -name '*.go' -not -path './vendor/*' | xargs goimports -l -w auto_fmt := find . -name '*.go' -not -path './vendor/*' | xargs goimports -l -w
auto_ci: clean fmt_proto fmt_shell protobuf auto_ci: clean fmt_proto fmt_shell protobuf
@-find . -name '*.go' -not -path './vendor/*' | xargs gofmt -l -w -s git branch
@-${auto_fmt} -find . -name '*.go' -not -path './vendor/*' | xargs gofmt -l -w -s
@-find . -name '*.go' -not -path './vendor/*' | xargs gofmt -l -w -s -${auto_fmt}
@${auto_fmt} -find . -name '*.go' -not -path './vendor/*' | xargs gofmt -l -w -s
@git add *.go *.sh *.proto ${auto_fmt}
@git status git add *.go *.sh *.proto
@echo "branch" git status
@echo $(branch) echo "branch"
@files=$$(git status -suno); if [ -n "$$files" ]; then \ echo $(branch)
files=$$(git status -suno); if [ -n "$$files" ]; then \
git add *.go *.sh *.proto; \ git add *.go *.sh *.proto; \
git status; \ git status; \
git commit -m "auto ci"; \ git commit -m "auto ci"; \
......
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