Merge PR #5491: Protobuf Introduction + Types

This commit is contained in:
Alexander Bezobchuk
2020-01-24 10:32:00 -05:00
committed by GitHub
parent f0912047cd
commit 26d6e49d6a
34 changed files with 2826 additions and 398 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -eo pipefail
proto_dirs=$(find . -path ./third_party -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq)
for dir in $proto_dirs; do
protoc \
-I. \
--gocosmos_out=plugins=interfacetype,paths=source_relative:. \
$(find "${dir}" -name '*.proto')
done