Skip to content

Commit

Permalink
feat(bazel): enable Go metadata gen (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdietz committed Feb 17, 2021
1 parent 47699aa commit 748854c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ go_gapic_library(
grpc_service_config = {{grpc_service_config}},
importpath = "{{go_gapic_importpath}}",
service_yaml = "{{service_yaml}}",
metadata = True,
deps = [
":{{name}}_go_proto",{{go_gapic_deps}}
],
Expand All @@ -135,6 +136,7 @@ go_gapic_assembly_pkg(
deps = [
":{{name}}_go_gapic",
":{{name}}_go_gapic_srcjar-test.srcjar",
":{{name}}_go_gapic_srcjar-metadata.srcjar",
":{{name}}_go_proto",
],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ go_gapic_library(
grpc_service_config = "library_example_grpc_service_config.json",
importpath = "cloud.google.com/go/example/library/apiv1;library",
service_yaml = "//google/example/library:library_example_v1.yaml",
metadata = True,
deps = [
":library_go_proto",
"//google/api:httpbody_go_proto",
Expand All @@ -143,6 +144,7 @@ go_gapic_assembly_pkg(
deps = [
":library_go_gapic",
":library_go_gapic_srcjar-test.srcjar",
":library_go_gapic_srcjar-metadata.srcjar",
":library_go_proto",
],
)
Expand Down

0 comments on commit 748854c

Please sign in to comment.