Skip to content

Commit

Permalink
Import versions from @bazel_skylib//lib:versions.bzl
Browse files Browse the repository at this point in the history
@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.
  • Loading branch information
rogerhub committed Nov 3, 2018
1 parent 63d2f3b commit 7492b56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ http_archive(
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")
2 changes: 1 addition & 1 deletion protobuf.bzl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@bazel_skylib//:lib.bzl", "versions")
load("@bazel_skylib//lib:versions.bzl", "versions")

def _GetPath(ctx, path):
if ctx.label.workspace_root:
Expand Down

0 comments on commit 7492b56

Please sign in to comment.