File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ toolchain(
5252py_binary (
5353 name = "gapic_plugin" ,
5454 srcs = glob (["gapic/**/*.py" ]),
55- data = [":pandoc_binary" ] + glob (["gapic/**/*.j2" ]),
55+ data = [":pandoc_binary" ] + glob (["gapic/**/*.j2" , "gapic/**/.*.j2" ]),
5656 main = "gapic/cli/generate_with_pandoc.py" ,
5757 python_version = "PY3" ,
5858 visibility = ["//visibility:public" ],
Original file line number Diff line number Diff line change @@ -9,34 +9,27 @@ http_archive(
99
1010http_archive (
1111 name = "rules_python" ,
12- strip_prefix = "rules_python - 0.1 .0 ,
12+ strip_prefix = "rules_python-0.1.0" ,
1313 url = "https://github.com/bazelbuild/rules_python/archive/0.1.0.tar.gz" ,
1414)
1515
16- load ("@rules_python//python:repositories.bzl" , "py_repositories" )
17-
18- py_repositories ()
19-
2016load ("@rules_python//python:pip.bzl" , "pip_repositories" )
2117
2218pip_repositories ()
2319
2420#
2521# Import gapic-generator-python specific dependencies
2622#
27- load ("//:repositories.bzl" ,
23+ load (
24+ "//:repositories.bzl" ,
2825 "gapic_generator_python" ,
29- "gapic_generator_register_toolchains"
26+ "gapic_generator_register_toolchains" ,
3027)
3128
3229gapic_generator_python ()
3330
3431gapic_generator_register_toolchains ()
3532
36- load ("@gapic_generator_python_pip_deps//:requirements.bzl" , "pip_install" )
37-
38- pip_install ()
39-
4033load ("@com_google_protobuf//:protobuf_deps.bzl" , "protobuf_deps" )
4134
4235protobuf_deps ()
You can’t perform that action at this time.
0 commit comments