mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
d4d4be80a5
Use ts_project to build localize package PR Close #61615
27 lines
554 B
Python
27 lines
554 B
Python
load("//tools:defaults.bzl", "jasmine_node_test")
|
|
load("//tools:defaults2.bzl", "ts_project")
|
|
|
|
ts_project(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["**/*_spec.ts"],
|
|
),
|
|
interop_deps = [
|
|
"//packages:types",
|
|
],
|
|
deps = [
|
|
"//packages/localize:localize_rjs",
|
|
"//packages/localize/init:init_rjs",
|
|
"//packages/localize/src/utils:utils_rjs",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "test",
|
|
bootstrap = ["//tools/testing:node_no_angular"],
|
|
deps = [
|
|
":test_lib",
|
|
],
|
|
)
|