-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathBUILD
More file actions
61 lines (52 loc) · 1.65 KB
/
BUILD
File metadata and controls
61 lines (52 loc) · 1.65 KB
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
load("@aspect_rules_js//npm:defs.bzl", "npm_link_package")
load("@aspect_rules_ts//ts:defs.bzl", "ts_config")
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@npm//:defs.bzl", "npm_link_all_packages")
load("@rules_license//rules:license.bzl", "license")
# Link npm packages
npm_link_all_packages(name = "node_modules")
exports_files([
"tsconfig.json",
"tsconfig.node.json",
"rollup.config.js",
# Expose .clang-format so that the static flatbuffer codegen can format its files nicely.
".clang-format",
])
license(
name = "license",
package_name = "AOS",
license_kinds = ["@rules_license//licenses/spdx:Apache-2.0"],
license_text = "LICENSE.txt",
package_version = "8ca89f37c1327cd59b5f1eb6be3fb7556bc0554f",
)
# The root repo tsconfig
ts_config(
name = "tsconfig",
src = "tsconfig.json",
visibility = ["//visibility:public"],
)
ts_config(
name = "tsconfig.node",
src = "tsconfig.node.json",
visibility = ["//visibility:public"],
deps = [":tsconfig"],
)
npm_link_package(
name = "node_modules/flatbuffers",
src = "@com_github_google_flatbuffers//ts:flatbuffers",
)
npm_link_package(
name = "node_modules/flatbuffers_reflection",
src = "@com_github_google_flatbuffers//reflection:flatbuffers_reflection",
)
# gazelle:prefix github.com/RealtimeRoboticsGroup/aos
# gazelle:build_file_name BUILD
# gazelle:proto disable
# gazelle:go_generate_proto false
# gazelle:exclude third_party
# gazelle:exclude external
# gazelle:resolve go github.com/google/flatbuffers/go @com_github_google_flatbuffers//go:go_default_library
gazelle(
name = "gazelle",
visibility = ["//tools/lint:__subpackages__"],
)