forked from buildbuddy-io/buildbuddy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
38 lines (32 loc) · 872 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
32
33
34
35
36
37
38
package(default_visibility = ["//visibility:public"])
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@io_bazel_rules_go//go:def.bzl", "nogo")
nogo(
name = "vet",
vet = True,
visibility = ["//visibility:public"],
)
# 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"},
)