mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-27 17:43:27 +00:00
cb8c2bad22
* feat: add some paths and utils * test: exercise relative to_label * chore: cleanup naming and rctx helper
44 lines
925 B
Python
44 lines
925 B
Python
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
|
|
|
|
# For stardoc to reference the files
|
|
exports_files(glob(["*.bzl"]))
|
|
|
|
filegroup(
|
|
name = "package_content",
|
|
srcs = glob([
|
|
"*.bzl",
|
|
"*.bazel",
|
|
]) + [
|
|
"//lib/private:package_content",
|
|
],
|
|
visibility = ["//:__pkg__"],
|
|
)
|
|
|
|
bzl_library(
|
|
name = "expand_make_vars",
|
|
srcs = ["expand_make_vars.bzl"],
|
|
visibility = ["//visibility:public"],
|
|
deps = ["//lib/private:expand_make_vars"],
|
|
)
|
|
|
|
bzl_library(
|
|
name = "params_file",
|
|
srcs = ["params_file.bzl"],
|
|
visibility = ["//visibility:public"],
|
|
deps = ["//lib/private:params_file"],
|
|
)
|
|
|
|
bzl_library(
|
|
name = "paths",
|
|
srcs = ["paths.bzl"],
|
|
visibility = ["//visibility:public"],
|
|
deps = ["//lib/private:paths"],
|
|
)
|
|
|
|
bzl_library(
|
|
name = "utils",
|
|
srcs = ["utils.bzl"],
|
|
visibility = ["//visibility:public"],
|
|
deps = ["//lib/private:utils"],
|
|
)
|