Skip to content

Commit

Permalink
Add comment for proto in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
menghanl committed Jun 9, 2016
1 parent 147022d commit bc315c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc315c8

Please sign in to comment.