aboutsummaryrefslogtreecommitdiff
path: root/examples/WORKSPACE
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2017-12-04 15:28:56 -0800
committerGitHub <noreply@github.com>2017-12-04 15:28:56 -0800
commitdb7c043f6dce400e4c777810a76fe900a7f0bc7e (patch)
tree11386b247229cd3328f89dad81bddd4cd8d39fed /examples/WORKSPACE
parent716acc3b977202f74e8d5d51a300d0fcf85a582b (diff)
parent35119e39a07f426f3c48a1bfb41d862994223742 (diff)
downloadprotobuf-db7c043f6dce400e4c777810a76fe900a7f0bc7e.tar.gz
protobuf-db7c043f6dce400e4c777810a76fe900a7f0bc7e.tar.bz2
protobuf-db7c043f6dce400e4c777810a76fe900a7f0bc7e.zip
Merge pull request #3968 from fahhem/patch-2
Add a check_version() for use in WORKSPACEs
Diffstat (limited to 'examples/WORKSPACE')
-rw-r--r--examples/WORKSPACE2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/WORKSPACE b/examples/WORKSPACE
index bb003107..936f2441 100644
--- a/examples/WORKSPACE
+++ b/examples/WORKSPACE
@@ -5,6 +5,8 @@ http_archive(
strip_prefix = "protobuf-master",
urls = ["https://github.com/google/protobuf/archive/master.zip"],
)
+load("@com_google_protobuf//:protobuf.bzl", "check_protobuf_required_bazel_version")
+check_protobuf_required_bazel_version()
# This com_google_protobuf_cc repository is required for cc_proto_library
# rule. It provides protobuf C++ runtime. Note that it actually is the same