node.proto stub and dependencies
ghstack-source-id: 2343d22a0ef11674108ede11a426f4b84372bd40 Pull Request resolved: https://github.com/certusone/wormhole/pull/62
This commit is contained in:
parent
13f79a96b3
commit
d151c95d82
|
@ -5,10 +5,21 @@
|
||||||
./build.sh
|
./build.sh
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(
|
||||||
|
cd third_party/
|
||||||
|
[[ ! -d googleapis ]] && git clone https://github.com/googleapis/googleapis
|
||||||
|
cd googleapis
|
||||||
|
git checkout 24fb9e5d1f37110bfa198189c34324aa3fdb0896
|
||||||
|
)
|
||||||
|
|
||||||
tools/bin/buf protoc \
|
tools/bin/buf protoc \
|
||||||
|
-Iproto \
|
||||||
|
-Ithird_party/googleapis \
|
||||||
--plugin tools/bin/protoc-gen-go \
|
--plugin tools/bin/protoc-gen-go \
|
||||||
--go_out=bridge/pkg/ proto/**/**/**
|
--go_out=bridge/pkg/ proto/**/**/**
|
||||||
|
|
||||||
tools/bin/buf protoc \
|
tools/bin/buf protoc \
|
||||||
--plugin tools/bin/protoc-gen-go-grpc \
|
-Iproto \
|
||||||
--go-grpc_out=bridge/pkg/ proto/**/**/**
|
-Ithird_party/googleapis \
|
||||||
|
--plugin tools/bin/protoc-gen-go-grpc \
|
||||||
|
--go-grpc_out=bridge/pkg/ proto/**/**/**
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package node.v1;
|
||||||
|
|
||||||
|
option go_package = "proto/node/v1;nodev1";
|
||||||
|
|
||||||
|
import "google/api/annotations.proto";
|
||||||
|
|
||||||
|
service Node {}
|
|
@ -0,0 +1 @@
|
||||||
|
googleapis
|
Loading…
Reference in New Issue