constellation/bazel/devbuild/BUILD.bazel
Paul Meyer a0fddd44eb bazel: refactor shell rules into own package
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-03-16 04:39:45 -04:00

20 lines
622 B
Python

load("//bazel/sh:def.bzl", "sh_template")
sh_template(
name = "devbuild",
data = [
"//bootstrapper/cmd/bootstrapper",
"//cli:cli_oss_host",
"//debugd/cmd/cdbg:cdbg_host",
"//upgrade-agent/cmd",
],
substitutions = {
"@@BOOTSTRAPPER@@": "$(rootpath //bootstrapper/cmd/bootstrapper)",
"@@CDBG@@": "$(rootpath //debugd/cmd/cdbg:cdbg_host)",
"@@CLI@@": "$(rootpath //cli:cli_oss_host)",
"@@UPGRADE_AGENT@@": "$(rootpath //upgrade-agent/cmd)",
},
template = "prepare_developer_workspace.sh.in",
visibility = ["//visibility:public"],
)