mirror of
https://github.com/mailgun/groupcache.git
synced 2024-11-16 14:10:04 +00:00
48a0ce2463
* `Get()` now returns immediately when context is done during a groupcache peer conversation. Previously `Get()` would call the `Getter` with a done context.
17 lines
243 B
Bash
Executable File
17 lines
243 B
Bash
Executable File
#! /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
|