forked from PolymerLabs/arcs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
46 lines (42 loc) · 1.2 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
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/**/* *",
],
),
)
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/**/*",
]) + [
"//src/tools:all_srcs",
"//tools:tools_srcs",
],
visibility = ["//visibility:public"],
)