2020-06-09 20:52:39 +03:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2020-06-23 16:45:10 +03:00
|
|
|
load(
|
|
|
|
"//:build/common.bzl",
|
2020-06-25 05:16:58 +03:00
|
|
|
"semantic_language_library",
|
2020-07-01 06:59:18 +03:00
|
|
|
"semantic_language_parsing_test",
|
2020-06-23 16:45:10 +03:00
|
|
|
)
|
2020-06-09 20:52:39 +03:00
|
|
|
|
2020-06-25 05:16:58 +03:00
|
|
|
semantic_language_library(
|
2020-06-27 19:47:04 +03:00
|
|
|
name = "semantic-tsx",
|
2020-06-09 20:52:39 +03:00
|
|
|
srcs = glob(["src/**/*.hs"]),
|
2020-06-25 05:16:58 +03:00
|
|
|
language = "tsx",
|
2020-06-26 20:07:24 +03:00
|
|
|
nodetypes = "@tree-sitter-typescript//:tsx/src/node-types.json",
|
2020-07-01 06:59:18 +03:00
|
|
|
ts_package = "typescript",
|
|
|
|
)
|
|
|
|
|
|
|
|
semantic_language_parsing_test(
|
|
|
|
language = "tsx",
|
|
|
|
semantic_package = "tsx",
|
|
|
|
ts_package = "typescript",
|
2020-06-09 20:52:39 +03:00
|
|
|
)
|