1#!/bin/bash
2
3# To compile all protobuf files in this repository, run
4# "make protobuf" at the top-level.
5
6set -eu
7
8DST_DIR=../genproto/pluginv2
9
10SOURCE="${BASH_SOURCE[0]}"
11while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
12DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
13
14cd "$DIR"
15
16protoc -I ./ rendererv2.proto --go_out=plugins=grpc:./