2
0
Fork 0
mirror of https://github.com/bazelbuild/bazel-skylib synced 2024-11-28 08:43:51 +00:00
bazel-skylib/BUILD
Thomas Van Lenten 4b67f5ff38 Add rules to the test_deps target. (#102)
* Add rules to the test_deps target.

Likely needed for anyone doing integration tests using skylib.

* Default public visibility and only tag things that are private.
2019-01-28 13:51:57 -05:00

50 lines
1,002 B
Python

load("//:bzl_library.bzl", "bzl_library")
licenses(["notice"]) # Apache 2.0
package(default_visibility = ["//visibility:public"])
exports_files([
"LICENSE",
"lib.bzl",
])
filegroup(
name = "test_deps",
testonly = True,
srcs = [
"BUILD",
"//lib:test_deps",
"//rules:test_deps",
"//toolchains/unittest:test_deps",
] + glob(["*.bzl"]),
)
bzl_library(
name = "lib",
srcs = ["lib.bzl"],
deprecation = (
"lib.bzl will go away in the future, please directly depend on the" +
" module(s) needed as it is more efficient."
),
deps = [
"//lib:collections",
"//lib:dicts",
"//lib:new_sets",
"//lib:partial",
"//lib:paths",
"//lib:selects",
"//lib:sets",
"//lib:shell",
"//lib:structs",
"//lib:types",
"//lib:unittest",
"//lib:versions",
],
)
bzl_library(
name = "bzl_library",
srcs = ["bzl_library.bzl"],
)