Skip to content

Commit

Permalink
regenerate all proto (micro#1440)
Browse files Browse the repository at this point in the history
* regenerate all proto

Signed-off-by: Vasiliy Tolstov <[email protected]>

* regenerate from proto

Signed-off-by: Vasiliy Tolstov <[email protected]>

* regenerate from proto

Signed-off-by: Vasiliy Tolstov <[email protected]>
  • Loading branch information
vtolstov authored Mar 30, 2020
1 parent 756b346 commit 9e6db79
Show file tree
Hide file tree
Showing 54 changed files with 4,132 additions and 952 deletions.
9 changes: 9 additions & 0 deletions .github/generate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash -e

find . -type f -name '*.pb.*.go' -o -name '*.pb.go' -a ! -name 'message.pb.go' -delete
PROTOS=$(find . -type f -name '*.proto')

for PROTO in $PROTOS; do
echo $PROTO
protoc -I./ -I$(dirname $PROTO) --go_out=plugins=grpc,paths=source_relative:. --micro_out=paths=source_relative:. $PROTO
done
171 changes: 144 additions & 27 deletions agent/proto/bot.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions agent/proto/bot.pb.micro.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

71 changes: 34 additions & 37 deletions api/proto/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/proto/api.pb.micro.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9e6db79

Please sign in to comment.