Skip to content

Commit

Permalink
fix: buf protoc was moved to buf alpha protoc (#462)
Browse files Browse the repository at this point in the history
bufbuild/buf#915

Co-authored-by: Federico Kunze Küllmer <[email protected]>
  • Loading branch information
dannyboy820 and fedekunze committed Apr 29, 2022
1 parent a31bce1 commit e3140f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/protocgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protoc_gen_doc
proto_dirs=$(find ./proto -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq)
# TODO: migrate to `buf build`
for dir in $proto_dirs; do
buf protoc \
buf alpha protoc \
-I "proto" \
-I "third_party/proto" \
--gocosmos_out=plugins=interfacetype+grpc,\
Expand All @@ -33,7 +33,7 @@ done

# command to generate docs using protoc-gen-doc
# TODO: migrate to `buf build`
buf protoc \
buf alpha protoc \
-I "proto" \
-I "third_party/proto" \
--doc_out=./docs/protocol \
Expand Down

0 comments on commit e3140f4

Please sign in to comment.