forked from typedb/typedb-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
49 lines (44 loc) · 1.25 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
43
44
45
46
47
48
49
## 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
load("@graknlabs_dependencies//distribution/artifact:rules.bzl", "artifact_extractor")
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"]
)
artifact_extractor(
name = "grakn-extractor",
artifact = "@graknlabs_grakn_core_artifact//file",
)