bazel: refactor shell rules into own package

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-03-14 17:29:54 +01:00
parent e3f37e9a38
commit a0fddd44eb
6 changed files with 14 additions and 19 deletions

View file

@ -1,16 +1,14 @@
load("//bazel/ci:def.bzl", "sh_template")
load("//bazel/sh:def.bzl", "sh_template")
sh_template(
name = "devbuild",
data = [
"//bazel/ci:base_lib",
"//bootstrapper/cmd/bootstrapper",
"//cli:cli_oss_host",
"//debugd/cmd/cdbg:cdbg_host",
"//upgrade-agent/cmd",
],
substitutions = {
"@@BASE_LIB@@": "$(rootpath //bazel/ci:base_lib)",
"@@BOOTSTRAPPER@@": "$(rootpath //bootstrapper/cmd/bootstrapper)",
"@@CDBG@@": "$(rootpath //debugd/cmd/cdbg:cdbg_host)",
"@@CLI@@": "$(rootpath //cli:cli_oss_host)",