From 58720655c83ff9fa3c0d423e6e95808535283dea Mon Sep 17 00:00:00 2001 From: Eric Gribkoff Date: Thu, 23 Feb 2017 12:55:55 -0800 Subject: [PATCH] compiler: update path to protoc plugin in README --- compiler/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/README.md b/compiler/README.md index 2cd1aee0d4..0d10207df0 100644 --- a/compiler/README.md +++ b/compiler/README.md @@ -34,17 +34,17 @@ You will see a `PASS` if the test succeeds. To compile a proto file and generate Java interfaces out of the service definitions: ``` -$ protoc --plugin=protoc-gen-grpc-java=build/binaries/java_pluginExecutable/protoc-gen-grpc-java \ +$ protoc --plugin=protoc-gen-grpc-java=build/exe/java_plugin/protoc-gen-grpc-java \ --grpc-java_out="$OUTPUT_FILE" --proto_path="$DIR_OF_PROTO_FILE" "$PROTO_FILE" ``` To generate Java interfaces with protobuf lite: ``` -$ protoc --plugin=protoc-gen-grpc-java=build/binaries/java_pluginExecutable/protoc-gen-grpc-java \ +$ protoc --plugin=protoc-gen-grpc-java=build/exe/java_plugin/protoc-gen-grpc-java \ --grpc-java_out=lite:"$OUTPUT_FILE" --proto_path="$DIR_OF_PROTO_FILE" "$PROTO_FILE" ``` To generate Java interfaces with protobuf nano: ``` -$ protoc --plugin=protoc-gen-grpc-java=build/binaries/java_pluginExecutable/protoc-gen-grpc-java \ +$ protoc --plugin=protoc-gen-grpc-java=build/exe/java_plugin/protoc-gen-grpc-java \ --grpc-java_out=nano:"$OUTPUT_FILE" --proto_path="$DIR_OF_PROTO_FILE" "$PROTO_FILE" ```