Greg Magolan ea495d958f build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#29063)
* removed /tools/http_server and uses http_server from rules_nodejs
* updated bazel schematics to use angular bundles

PR Close #29063
2019-03-07 08:57:24 -08:00

42 lines
753 B
Python

package(default_visibility = ["//visibility:public"])
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
ts_library(
name = "lib",
testonly = True,
srcs = glob(
["**/*.ts"],
exclude = [
"**/*_spec.ts",
"**/*_spec",
],
),
deps = [
"//packages:types",
"@npm//typescript",
],
)
ts_library(
name = "test_lib",
testonly = 1,
srcs = glob(
["**/*_spec.ts"],
exclude = ["symbol_extractor_spec/**"],
),
deps = [
":lib",
"//packages:types",
"@npm//typescript",
],
)
jasmine_node_test(
name = "test",
data = glob(["symbol_extractor_spec/**"]),
deps = [
":test_lib",
],
)