Skip to content

Commit

Permalink
fix: fix missing .coveragerc and the broken bazel build (#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
vam-google authored Jan 4, 2021
1 parent 56c31de commit 7f8235f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ toolchain(
py_binary(
name = "gapic_plugin",
srcs = glob(["gapic/**/*.py"]),
data = [":pandoc_binary"] + glob(["gapic/**/*.j2"]),
data = [":pandoc_binary"] + glob(["gapic/**/*.j2", "gapic/**/.*.j2"]),
main = "gapic/cli/generate_with_pandoc.py",
python_version = "PY3",
visibility = ["//visibility:public"],
Expand Down
15 changes: 4 additions & 11 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,27 @@ http_archive(

http_archive(
name = "rules_python",
strip_prefix = "rules_python-0.1.0,
strip_prefix = "rules_python-0.1.0",
url = "https://github.com/bazelbuild/rules_python/archive/0.1.0.tar.gz",
)

load("@rules_python//python:repositories.bzl", "py_repositories")

py_repositories()

load("@rules_python//python:pip.bzl", "pip_repositories")

pip_repositories()

#
# Import gapic-generator-python specific dependencies
#
load("//:repositories.bzl",
load(
"//:repositories.bzl",
"gapic_generator_python",
"gapic_generator_register_toolchains"
"gapic_generator_register_toolchains",
)

gapic_generator_python()

gapic_generator_register_toolchains()

load("@gapic_generator_python_pip_deps//:requirements.bzl", "pip_install")

pip_install()

load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")

protobuf_deps()
Expand Down

0 comments on commit 7f8235f

Please sign in to comment.