2018-02-02 18:08:25 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "lib",
|
2018-08-14 19:18:26 -04:00
|
|
|
testonly = True,
|
2018-02-02 18:08:25 -05:00
|
|
|
srcs = glob(
|
|
|
|
["**/*.ts"],
|
|
|
|
exclude = [
|
|
|
|
"**/*_spec.ts",
|
|
|
|
"**/*_spec",
|
|
|
|
],
|
|
|
|
),
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
|
|
|
testonly = 1,
|
|
|
|
srcs = glob(
|
|
|
|
["**/*_spec.ts"],
|
|
|
|
exclude = ["symbol_extractor_spec/**"],
|
|
|
|
),
|
|
|
|
deps = [
|
|
|
|
":lib",
|
|
|
|
"//packages:types",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
|
|
|
data = glob(["symbol_extractor_spec/**"]),
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
|
|
|
],
|
|
|
|
)
|