blob: fc966173b628e89695de3d1c61482c32f8cb2431 [file] [log] [blame]
licenses(["notice"]) # Apache 2.0
filegroup(
name = "srcs",
srcs = glob(["**"]),
visibility = ["//tools:__pkg__"],
)
exports_files(
["README.md"],
visibility = ["//site:__pkg__"],
)
py_binary(
name = "sha256",
srcs = ["sha256.py"],
visibility = ["//visibility:public"],
)
exports_files(
["hash.bzl"],
visibility = ["//visibility:public"],
)
sh_test(
name = "sha256_test",
size = "small",
srcs = ["sha256_test.sh"],
data = ["sha256"],
# TODO(laszlocsomor): use the runfiles library after
# https://github.com/bazelbuild/bazel/issues/4460 is fixed for sh_*
tags = ["-no_windows"],
)