summaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-04-28 14:45:06 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-28 14:46:19 -0700
commit64723470a6f0b62ec6223ff66e9c9ca70d248b61 (patch)
tree5431a72f6ae03b100416a9c8e65a261fa81f8809 /WORKSPACE
parent42822603551e5f0c0796918abf0ce92990c80da8 (diff)
Use existing bazeldefs with top-level BUILD file.
PiperOrigin-RevId: 308901116
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE14
1 files changed, 14 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index c86e0fcdc..ef62ca3fd 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,6 +1,20 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
+# Bazel/starlark utilities.
+http_archive(
+ name = "bazel_skylib",
+ urls = [
+ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
+ "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
+ ],
+ sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44",
+)
+
+load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
+
+bazel_skylib_workspace()
+
# Load go bazel rules and gazelle.
#
# Note that this repository actually patches some other Go repositories as it