mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 07:23:02 +00:00
genproto.sh - update protoc to 3.5, gogofast is now gofast
This commit is contained in:
parent
1fe05d40e4
commit
a1229465b2
@ -10,8 +10,8 @@ if ! [[ "$0" =~ "scripts/genproto.sh" ]]; then
|
|||||||
exit 255
|
exit 255
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [[ $(protoc --version) =~ "3.4" ]]; then
|
if ! [[ $(protoc --version) =~ "3.5" ]]; then
|
||||||
echo "could not find protoc 3.4.x, is it installed + in PATH?"
|
echo "could not find protoc 3.5.x, is it installed + in PATH?"
|
||||||
exit 255
|
exit 255
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ DIRS="prompb"
|
|||||||
|
|
||||||
for dir in ${DIRS}; do
|
for dir in ${DIRS}; do
|
||||||
pushd ${dir}
|
pushd ${dir}
|
||||||
protoc --gogofast_out=plugins=grpc:. -I=. \
|
protoc --gofast_out=plugins=grpc:. -I=. \
|
||||||
-I="${GOGOPROTO_PATH}" \
|
-I="${GOGOPROTO_PATH}" \
|
||||||
-I="${PROM_PATH}" \
|
-I="${PROM_PATH}" \
|
||||||
-I="${GRPC_GATEWAY_ROOT}/third_party/googleapis" \
|
-I="${GRPC_GATEWAY_ROOT}/third_party/googleapis" \
|
||||||
|
Loading…
Reference in New Issue
Block a user