groupcache/proto.sh

17 lines
243 B
Bash
Raw Permalink Normal View History

2019-04-09 22:36:47 +00:00
#! /bin/sh
# Make sure the script fails fast.
set -e
set -u
set -x
PROTO_DIR=groupcachepb
protoc -I=$PROTO_DIR \
--go_out=$PROTO_DIR \
$PROTO_DIR/groupcache.proto
protoc -I=$PROTO_DIR \
--go_out=. \
$PROTO_DIR/example.proto