blob: 4148901bebacdf4988800d07f7699941030b8b8b [file] [log] [blame] [edit]
# A runtime toolchain for shell scripts.
#
# Use `sh_toolchain` to register a toolchain for this type.
#
# Every toolchain registered for this type has the following attributes:
# - `path`: The path to the shell interpreter for the target platform.
#
# Other attribute may be present but are considered implementation details of
# Bazel's sh_* rules.
#
# Toolchains registered for this type should have target constraints.
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
toolchain_type(
name = "toolchain_type",
visibility = ["//visibility:public"],
)
bzl_library(
name = "rules_bzl",
srcs = [
"sh_binary.bzl",
"sh_library.bzl",
"sh_test.bzl",
],
visibility = ["//visibility:public"],
deps = ["//shell/private:private_bzl"],
)