-
Notifications
You must be signed in to change notification settings - Fork 15
/
BUILD
59 lines (52 loc) · 1.64 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
50
51
52
53
54
55
56
57
58
59
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
package(default_visibility = ["//visibility:public"])
exports_files(["VERSION", "package.json"])
load("@typedb_dependencies//tool/checkstyle:rules.bzl", "checkstyle_test")
load("@typedb_bazel_distribution//github:rules.bzl", "deploy_github")
load("//:deployment.bzl", "deployment")
checkstyle_test(
name = "checkstyle",
include = glob([
".bazelrc",
".gitignore",
"BUILD",
"deployment.bzl",
"WORKSPACE",
".factory/automation.yml",
]),
exclude = [
".bazel-remote-cache.rc",
".bazel-cache-credential.json",
],
license_type = "mpl-header",
size = "small",
)
checkstyle_test(
name = "checkstyle-license",
include = ["LICENSE"],
license_type = "mpl-fulltext",
size = "small",
)
deploy_github(
name = "deploy-github",
organisation = deployment["github.organisation"],
repository = deployment["github.repository"],
release_description = "//:RELEASE_NOTES_LATEST.md",
title = "TypeDB Protocol",
title_append_version = True,
draft = False,
)
exports_files(["README.md"])
# Tools to be built during `build //...`
filegroup(
name = "tools",
data = [
"@typedb_dependencies//library/maven:update",
"@typedb_dependencies//tool/ide:rust_sync",
"@typedb_dependencies//tool/unuseddeps:unused-deps",
"@typedb_dependencies//tool/release/notes:create",
"@typedb_dependencies//tool/sync:dependencies",
],
)