-
Notifications
You must be signed in to change notification settings - Fork 35
/
BUILD.bazel
65 lines (60 loc) · 1.74 KB
/
BUILD.bazel
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
licenses(["notice"])
package(default_visibility = ["//visibility:public"])
filegroup(
name = "tsconfig",
srcs = [
"config/tsconfig.base.json",
"tsconfig.json",
],
)
filegroup(
name = "node_modules",
srcs = glob(
["node_modules/**/*"],
exclude = [
# Files under test & docs may contain file names that
# are not legal Bazel labels (e.g.,
# node_modules/ecstatic/test/public/äæ/ææ.html)
"node_modules/test/**",
"node_modules/docs/**",
# Files with spaces are not allowed in Bazel runfiles
# See https://github.com/bazelbuild/bazel/issues/4327
"node_modules/**/* */**",
"node_modules/**/* *",
],
),
)
# concrete-storage/node_modules
filegroup(
name = "concrete_storage_node_modules",
srcs = glob(
["concrete-storage/node_modules/**/*"],
exclude = [
"concrete-storage/node_modules/test/**",
"concrete-storage/node_modules/docs/**",
"concrete-storage/node_modules/**/* */**",
"concrete-storage/node_modules/**/* *",
],
),
)
filegroup(
name = "all_srcs",
# NOTE: This glob doesn't include files in directories which have their own
# BUILD files. You must add separate filegroups for those files.
srcs = glob([
"src/**",
"tools/**",
"devtools/shared/**",
"shells/**/*.js",
"modalities/**/*",
"concrete-storage/*",
"concrete-storage/build/*",
"concrete-storage/platform/*",
"config/*",
]) + [
"//src/tools:all_srcs",
"//tools:tools_srcs",
".eslintrc.json",
],
visibility = ["//visibility:public"],
)