You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
637 B
17 lines
637 B
#!/usr/bin/env bash |
|
|
|
# Run this if opencensus-proto is checked in the GOPATH. |
|
# go get -d github.com/census-instrumentation/opencensus-proto |
|
# to check in the repo to the GOAPTH. |
|
# |
|
# To generate: |
|
# |
|
# cd $(go env GOPATH)/census-instrumentation/opencensus-proto |
|
# ./mkgogen.sh |
|
|
|
OUTDIR="$(go env GOPATH)/src" |
|
|
|
protoc --go_out=plugins=grpc:$OUTDIR opencensus/proto/stats/stats.proto \ |
|
&& protoc --go_out=plugins=grpc:$OUTDIR opencensus/proto/metrics/metrics.proto \ |
|
&& protoc --go_out=plugins=grpc:$OUTDIR opencensus/proto/trace/trace.proto \ |
|
&& protoc -I=. --go_out=plugins=grpc:$OUTDIR opencensus/proto/exporter/exporter.proto
|
|
|