forked from github/codeql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
37 lines (32 loc) · 891 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
load("@rules_pkg//pkg:mappings.bzl", "pkg_files")
load("//misc/bazel:pkg.bzl", "codeql_pack")
package(default_visibility = ["//visibility:public"])
alias(
name = "dbscheme",
actual = "//javascript/ql/lib:dbscheme",
)
alias(
name = "dbscheme-stats",
actual = "//javascript/ql/lib:dbscheme-stats",
)
pkg_files(
name = "dbscheme-group",
srcs = [
":dbscheme",
":dbscheme-stats",
],
strip_prefix = None,
)
# We have to use a zip of the typescript parser wrapper, as it's generated by a genrule
# and we don't know a list of its output files.
codeql_pack(
name = "javascript",
srcs = [
":dbscheme-group",
"//javascript/downgrades",
"//javascript/externs",
"//javascript/extractor:tools-extractor",
"//javascript/resources",
],
zips = {"//javascript/extractor/lib/typescript": "tools"},
)