forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fetch status.proto from remote, simplify JS gRPC codegen (digital-ass…
…et#285) * Fetch status.proto from remote, simplify JS gRPC codegen Fetch the `status.proto` file (part of the standard gRPC distribution) from a distribution channel. _Moreover_, use the recently introduced `proto_gen` rule to simplify how the gRPC code for the Node.js bindings are generated (and remove the need to have `google/rpc/status.proto` locally in the repository. * Add plugin_runfiles option to proto_gen This allows use to add additional files to the bazel sandbox so that plugins can refer to them. This will subsequently be used by the protoc-gen-doc plugin. Also, pass the plugin options via --name_opt parameter. * Add missing status.proto dependency /language-support/java and /ledger * Build proto docs using the proto_gen rule To make this work, I had to turn on the bazel build flag `--protocopt=--include_source_info` because we cannot turn enable this flag only for specific build rules. * Make /ledger-api/grpc-definitions:docs public again * Revert to the old style of passing plugin arguments to --name_out=options:path * Suppress output of unzipping * Fix link for google.rpc.Status in proto-docs
- Loading branch information
1 parent
685904d
commit 7467925
Showing
18 changed files
with
231 additions
and
692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.