Prepare for checking in generated code

This commit is contained in:
Kristoffer Dalby 2021-10-27 06:40:39 +00:00
parent 6e764942a2
commit 8f2ef6a57d
5 changed files with 13 additions and 21 deletions

View file

@ -28,3 +28,10 @@ compress: build
generate:
rm -rf gen
buf generate proto
install-protobuf-plugins:
go install \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
google.golang.org/protobuf/cmd/protoc-gen-go \
google.golang.org/grpc/cmd/protoc-gen-go-grpc