From 9695690861a1cfa78594d7db5cf64a177a734b82 Mon Sep 17 00:00:00 2001 From: Marko Date: Wed, 15 Jul 2020 10:36:40 +0200 Subject: [PATCH] docs: modify needed proto files for guides (#5123) ## Description This pr modifies the needed proto files for the java and kotlin guides. Closes: #5034 --- docs/guides/java.md | 30 +++++++++++++++++++++--------- docs/guides/kotlin.md | 30 +++++++++++++++++++++--------- 2 files changed, 42 insertions(+), 18 deletions(-) diff --git a/docs/guides/java.md b/docs/guides/java.md index b0d65d1ab..f9a39d8f0 100644 --- a/docs/guides/java.md +++ b/docs/guides/java.md @@ -168,17 +168,29 @@ Copy the necessary `.proto` files to your project: ```bash mkdir -p \ - $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/abci/types \ - $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/crypto/merkle \ - $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/libs/kv \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/abci \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/version \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/types \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/crypto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/libs \ $KVSTORE_HOME/src/main/proto/github.com/gogo/protobuf/gogoproto -cp $GOPATH/src/github.com/tendermint/tendermint/abci/types/types.proto \ - $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/abci/types/types.proto -cp $GOPATH/src/github.com/tendermint/tendermint/crypto/merkle/merkle.proto \ - $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/crypto/merkle/merkle.proto -cp $GOPATH/src/github.com/tendermint/tendermint/libs/kv/types.proto \ - $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/libs/kv/types.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/abci/types.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/abci/types.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/version/version.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/version/version.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/types/types.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/types/types.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/types/evidence.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/types/evidence.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/types/params.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/types/params.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/crypto/merkle.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/crypto/merkle.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/crypto/keys.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/crypto/keys.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/libs/types.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/libs/types.proto cp $GOPATH/src/github.com/gogo/protobuf/gogoproto/gogo.proto \ $KVSTORE_HOME/src/main/proto/github.com/gogo/protobuf/gogoproto/gogo.proto ``` diff --git a/docs/guides/kotlin.md b/docs/guides/kotlin.md index a12bc020c..e639bfea6 100644 --- a/docs/guides/kotlin.md +++ b/docs/guides/kotlin.md @@ -168,17 +168,29 @@ Copy the necessary `.proto` files to your project: ```bash mkdir -p \ - $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/abci/types \ - $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/crypto/merkle \ - $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/libs/kv \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/abci \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/version \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/types \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/crypto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/libs \ $KVSTORE_HOME/src/main/proto/github.com/gogo/protobuf/gogoproto -cp $GOPATH/src/github.com/tendermint/tendermint/abci/types/types.proto \ - $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/abci/types/types.proto -cp $GOPATH/src/github.com/tendermint/tendermint/crypto/merkle/merkle.proto \ - $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/crypto/merkle/merkle.proto -cp $GOPATH/src/github.com/tendermint/tendermint/libs/kv/types.proto \ - $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/libs/kv/types.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/abci/types.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/abci/types.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/version/version.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/version/version.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/types/types.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/types/types.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/types/evidence.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/types/evidence.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/types/params.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/types/params.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/crypto/merkle.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/crypto/merkle.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/crypto/keys.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/crypto/keys.proto +cp $GOPATH/src/github.com/tendermint/tendermint/proto/tendermint/libs/types.proto \ + $KVSTORE_HOME/src/main/proto/github.com/tendermint/tendermint/proto/tendermint/libs/types.proto cp $GOPATH/src/github.com/gogo/protobuf/gogoproto/gogo.proto \ $KVSTORE_HOME/src/main/proto/github.com/gogo/protobuf/gogoproto/gogo.proto ```