forked from ankitects/anki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
45 lines (37 loc) · 771 Bytes
/
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
load("//ts:prettier.bzl", "prettier", "prettier_test")
load("@build_bazel_rules_nodejs//:index.bzl", "copy_to_bin")
prettier()
prettier_test()
# Exported files
#################
exports_files([
"licenses.json",
"sql_format.ts",
"jest.config.js",
"protobuf-no-long.js",
"page.html",
"tsconfig.json",
"format.sh",
])
# a copy needs to be placed in bazel-bin for libs with
# generated files
copy_to_bin(
name = "tsconfig_bin",
srcs = ["tsconfig.json"],
visibility = ["//visibility:public"],
)
alias(
name = "yarn",
actual = "@nodejs//:yarn",
)
alias(
name = "node",
actual = "@nodejs//:node",
)
filegroup(
name = "ts",
srcs = [
"//ts/icons",
],
visibility = ["//ts:__subpackages__"],
)