mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
16 lines
352 B
Bash
16 lines
352 B
Bash
|
#!/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 ./ rendererv2.proto --go_out=plugins=grpc:./
|