Add comment for proto in Makefile

This commit is contained in:
Menghan Li
2016-06-09 14:40:28 -07:00
parent 147022d136
commit bc315c855f

View File

@ -21,6 +21,7 @@ proto:
exit 1; \
fi
go get -u -v github.com/golang/protobuf/protoc-gen-go
# use $$dir as the root for all proto files in the same directory
for dir in $$(git ls-files '*.proto' | xargs -n1 dirname | uniq); do \
protoc -I $$dir --go_out=plugins=grpc:$$dir $$dir/*.proto; \
done