forked from buildbuddy-io/buildbuddy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
31 lines (26 loc) · 740 Bytes
/
BUILD
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
package(default_visibility = ["//visibility:public"])
load("@bazel_gazelle//:def.bzl", "gazelle")
# Ignore the node_modules dir
# gazelle:exclude node_modules
# Prefer generated BUILD files to be called BUILD over BUILD.bazel
# gazelle:build_file_name BUILD,BUILD.bazel
# gazelle:prefix github.com/buildbuddy-io/buildbuddy
# gazelle:proto disable
gazelle(name = "gazelle")
exports_files([
"tsconfig.json",
"package.json",
"yarn.lock",
"VERSION",
])
filegroup(
name = "config_files",
srcs = select({
":release_build": ["config/buildbuddy.release.yaml"],
"//conditions:default": glob(["config/**"]),
}),
)
config_setting(
name = "release_build",
values = {"define": "release=true"},
)