mirror of https://github.com/grpc/grpc-go.git
Add comment for proto in Makefile
This commit is contained in:
parent
147022d136
commit
bc315c855f
1
Makefile
1
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue