diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2019-07-22 13:25:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-22 13:25:00 -0400 |
commit | d2cf1cc2bcd1e879743faf5216c4887b994705af (patch) | |
tree | e8a2e6a5e4591512086417958f54b055e8ba6840 /lib.bzl | |
parent | a6c72f2b390d4c574fbf75c2c325d926c4c48cd6 (diff) | |
download | bazel-skylib-d2cf1cc2bcd1e879743faf5216c4887b994705af.tar.gz |
`print`->`fail` and suppress the warning in another case. (#177)
Diffstat (limited to 'lib.bzl')
-rw-r--r-- | lib.bzl | 35 |
1 files changed, 3 insertions, 32 deletions
@@ -14,36 +14,7 @@ """Index from which multiple modules can be loaded.""" -load("//lib:collections.bzl", _collections = "collections") -load("//lib:dicts.bzl", _dicts = "dicts") -load("//lib:new_sets.bzl", _new_sets = "sets") -load("//lib:partial.bzl", _partial = "partial") -load("//lib:paths.bzl", _paths = "paths") -load("//lib:selects.bzl", _selects = "selects") -load("//lib:sets.bzl", _sets = "sets") -load("//lib:shell.bzl", _shell = "shell") -load("//lib:structs.bzl", _structs = "structs") -load("//lib:types.bzl", _types = "types") -load("//lib:unittest.bzl", _asserts = "asserts", _unittest = "unittest") -load("//lib:versions.bzl", _versions = "versions") - -print( - "WARNING: lib.bzl is deprecated and will go away in the future, please" + - " directly load the bzl file(s) of the module(s) needed as it is more" + - " efficient.", +fail( + "lib.bzl has been removed, please directly load the bzl file(s) of the" + + " module(s) needed as it is more efficient.", ) - -collections = _collections -dicts = _dicts -new_sets = _new_sets -partial = _partial -paths = _paths -selects = _selects -sets = _sets -shell = _shell -structs = _structs -types = _types -versions = _versions - -asserts = _asserts -unittest = _unittest |