-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathBUILD
More file actions
43 lines (37 loc) · 976 Bytes
/
BUILD
File metadata and controls
43 lines (37 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
load("@rules_shell//shell:sh_test.bzl", "sh_test")
package(
default_visibility = ["//visibility:public"],
)
alias(
name = "buildbuddy",
actual = "//server/cmd/buildbuddy:buildbuddy", # go_binary
)
[alias(
name = t,
actual = "//server/cmd/buildbuddy:%s" % t,
tags = ["manual"],
) for t in [
"base_image", # container_image
"buildbuddy_image", # container_image
]]
alias(
name = "server",
actual = ":buildbuddy",
)
genquery(
name = "server_enterprise_deps",
expression = "filter(//enterprise, deps(//server))",
scope = ["//server"],
tags = ["manual"],
)
sh_test(
name = "server_no_enterprise_deps_test",
srcs = ["server_no_enterprise_deps_test.sh"],
args = ["$(rootpath :server_enterprise_deps)"],
data = [":server_enterprise_deps"],
tags = [
# TODO: Drop this tag after updating to Bazel 8.5.0.
# https://github.com/bazelbuild/bazel/pull/27117
"public-only",
],
)