blob: 88bf3ed4223dc33e2cadfc70b472b2edb212eccc [file] [log] [blame]
load("//tools/python:private/defs.bzl", "py_binary")
licenses(["notice"]) # Apache 2.0
filegroup(
name = "srcs",
srcs = glob(["**"]),
visibility = ["//tools/build_defs:__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"],
deps = ["@bazel_tools//tools/bash/runfiles"],
)
test_suite(
name = "windows_tests",
tags = [
"-no_windows",
"-slow",
],
visibility = ["//visibility:private"],
)
test_suite(
name = "all_windows_tests",
tests = [":windows_tests"],
visibility = ["//tools/build_defs:__pkg__"],
)