Skip to content

Commit 5b29726

Browse files
authored
fix: fix missing .coveragerc and the broken bazel build (#723)
1 parent f2c5c9b commit 5b29726

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

packages/gapic-generator/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ toolchain(
5252
py_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"],

packages/gapic-generator/WORKSPACE

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,27 @@ http_archive(
99

1010
http_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-
2016
load("@rules_python//python:pip.bzl", "pip_repositories")
2117

2218
pip_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

3229
gapic_generator_python()
3330

3431
gapic_generator_register_toolchains()
3532

36-
load("@gapic_generator_python_pip_deps//:requirements.bzl", "pip_install")
37-
38-
pip_install()
39-
4033
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
4134

4235
protobuf_deps()

0 commit comments

Comments
 (0)