forked from typedb/typedb-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
42 lines (39 loc) · 1.05 KB
/
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
39
40
41
42
## this filegroup exposes all .md files that are placed under the sub-directories of the root directory (where this BUILD file is located at)
## given the directory structure below, test-1.md and test-2.md are INCLUDED. test-0.md is EXCLUDED.
## root_directory:
## test-0.md
## sub-directory:
## test-1.md
## sub-sub-dir:
## test-2.md
filegroup(
name = "content",
srcs = glob(
["*/**/*.md"],
exclude=[
"bazel-bin/**/*.md",
"bazel-out/**/*.md",
"bazel-docs/**/*.md",
".runfiles/**/*.md"
]
),
visibility = ["//visibility:public"]
)
filegroup(
name = "template",
srcs = glob(
["*/**/*.yml"],
exclude=[
"bazel-bin/**/*.yml",
"bazel-out/**/*.yml",
"bazel-docs/**/*.yml",
".runfiles/**/*.yml"
]
),
visibility = ["//visibility:public"]
)
filegroup(
name = "autolink-keywords",
srcs = ["views/autolink-keywords.js"],
visibility = ["//visibility:public"]
)