2023-11-16 22:26:40 +00:00
|
|
|
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
|
2024-05-23 23:08:35 +00:00
|
|
|
load(":release.bzl", "multi_platform_go_binaries")
|
2023-11-16 22:26:40 +00:00
|
|
|
|
|
|
|
multi_platform_go_binaries(
|
|
|
|
name = "copy_to_directory",
|
|
|
|
embed = ["//tools/copy_to_directory:copy_to_directory_lib"],
|
|
|
|
tags = ["manual"],
|
|
|
|
)
|
|
|
|
|
|
|
|
multi_platform_go_binaries(
|
|
|
|
name = "copy_directory",
|
|
|
|
embed = ["//tools/copy_directory:copy_directory_lib"],
|
|
|
|
tags = ["manual"],
|
|
|
|
)
|
|
|
|
|
|
|
|
multi_platform_go_binaries(
|
|
|
|
name = "expand_template",
|
|
|
|
embed = ["//tools/expand_template:expand_template_lib"],
|
|
|
|
tags = ["manual"],
|
|
|
|
)
|
|
|
|
|
2024-05-23 23:08:35 +00:00
|
|
|
RELEASE_ARTIFACTS = [
|
|
|
|
":copy_directory",
|
|
|
|
":copy_to_directory",
|
|
|
|
":expand_template",
|
|
|
|
]
|
|
|
|
|
|
|
|
sh_binary(
|
|
|
|
name = "copy_release_artifacts",
|
|
|
|
srcs = ["copy_release_artifacts.sh"],
|
|
|
|
args = ["$(rlocationpaths {})".format(s) for s in RELEASE_ARTIFACTS],
|
|
|
|
data = RELEASE_ARTIFACTS,
|
|
|
|
deps = ["@bazel_tools//tools/bash/runfiles"],
|
2023-11-16 22:26:40 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "hashes",
|
|
|
|
srcs = ["hashes.bzl"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|