* chore: Bump google.golang.org/grpc from 1.59.0 to 1.60.1 * Bump google.golang.org/protobuf to v1.32.0 * Fix make protobuf failing with latest protoc and protoc-gen-go * Re-generate protobuf files * Re-generate protobuf files * Bump grafana-plugin-sdk-go * go mod tidy
17 lines
346 B
Bash
Executable File
17 lines
346 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# To compile all protobuf files in this repository, run
|
|
# "make protobuf" at the top-level.
|
|
|
|
set -eu
|
|
|
|
DST_DIR=../genproto/pluginv2
|
|
|
|
SOURCE="${BASH_SOURCE[0]}"
|
|
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
|
|
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
|
|
|
cd "$DIR"
|
|
|
|
protoc -I ./ *.proto --go_out=. --go-grpc_out=.
|