Update doc as well

This commit is contained in:
Stanley Cheung 2018-03-14 11:26:02 -07:00
parent 95050b4728
commit 0cca437b65
1 changed files with 9 additions and 8 deletions

View File

@ -118,14 +118,15 @@ that can be used in the browser, using the [Closure compiler][]
```sh ```sh
$ cd ~/grpc-web $ cd ~/grpc-web
$ ./third_party/closure-library/closure/bin/build/closurebuilder.py \ $ java \
--root=./javascript \ -jar ./closure-compiler.jar \
--root=./net \ --js ./javascript \
--root=./third_party/closure-library \ --js ./net \
--root=./third_party/protobuf/js \ --js ./third_party/closure-library \
--namespace="proto.grpc.gateway.testing.EchoServiceClient" \ --js ./third_party/protobuf/js \
--output_mode=compiled \ --entry_point=goog:proto.grpc.gateway.testing.EchoServiceClient \
--compiler_jar=./closure-compiler.jar > compiled.js --dependency_mode=STRICT \
--js_output_file compiled.js
``` ```
You can add as many `--root` parameters as you like so that the Closure You can add as many `--root` parameters as you like so that the Closure