2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-26 13:30:30 +00:00
bazel-lib/tools/release/BUILD.bazel

54 lines
1.2 KiB
Python

load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load(":release.bzl", "multi_platform_go_binaries", "release")
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"],
)
release(
name = "release",
tags = [
"local",
"manual",
"no-remote",
],
targets = [
":copy_directory",
":copy_to_directory",
":expand_template",
],
)
# Demonstration delivery target for Aspect Workflows.
# In the future this could be wired up to push dev releases to an S3 bucket.
sh_binary(
name = "tools_delivery",
srcs = ["delivery.sh"],
data = [
":copy_directory",
":copy_to_directory",
":expand_template",
],
tags = ["deliverable"],
)
bzl_library(
name = "hashes",
srcs = ["hashes.bzl"],
visibility = ["//visibility:public"],
)