Import versions from @bazel_skylib//lib:versions.bzl

@bazel_skylib//:lib is supposedly deprecated. The 'versions' struct in lib.bzl was committed to bazel-skylib at the same time as //lib:versions.bzl, so there should be no backward incompatibility.
pull/5298/head
Roger Chen 6 years ago
parent 63d2f3bc80
commit 7492b56812
  1. 2
      examples/WORKSPACE
  2. 2
      protobuf.bzl

@ -39,5 +39,5 @@ http_archive(
urls = ["https://github.com/bazelbuild/bazel-skylib/archive/2169ae1c374aab4a09aa90e65efe1a3aad4e279b.tar.gz"], urls = ["https://github.com/bazelbuild/bazel-skylib/archive/2169ae1c374aab4a09aa90e65efe1a3aad4e279b.tar.gz"],
) )
load("@bazel_skylib//:lib.bzl", "versions") load("@bazel_skylib//lib:versions.bzl", "versions")
versions.check(minimum_bazel_version = "0.5.4") versions.check(minimum_bazel_version = "0.5.4")

@ -1,4 +1,4 @@
load("@bazel_skylib//:lib.bzl", "versions") load("@bazel_skylib//lib:versions.bzl", "versions")
def _GetPath(ctx, path): def _GetPath(ctx, path):
if ctx.label.workspace_root: if ctx.label.workspace_root:

Loading…
Cancel
Save