From b081afa286663817c4ff93713296f3c35862cbb5 Mon Sep 17 00:00:00 2001 From: Arches Date: Tue, 13 Dec 2016 15:17:07 +0100 Subject: [PATCH] Updated formatting --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c2d9707..e3d4375 100644 --- a/README.md +++ b/README.md @@ -26,14 +26,18 @@ See "handling directory nodes" section ## compiling .proto Proto files are stored in /proto. The proto files defined the interface of etcdv3. -You can compile it like this(if you are running this command inside /proto folder) - * $ protoc -I . --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ./rpc.proto - * $ protoc -I . --cpp_out=. ./*.proto + +You can compile it like this(if you are running this command inside /proto folder): +``` +protoc -I . --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ./rpc.proto +protoc -I . --cpp_out=. ./*.proto +``` Protofiles for etcdv3 can be found here: - * https://github.com/coreos/etcd/tree/master/auth/authpb - * https://github.com/coreos/etcd/tree/master/etcdserver/etcdserverpb - * https://github.com/coreos/etcd/tree/master/mvcc/mvccpb +* https://github.com/coreos/etcd/tree/master/auth/authpb +* https://github.com/coreos/etcd/tree/master/etcdserver/etcdserverpb +* https://github.com/coreos/etcd/tree/master/mvcc/mvccpb + Note: Protofiles in the project is not sync to the protofiles in etcd master branch. If you want to update the protofiles in this project, you need to manually update it.