angular-cn/dev-infra/release/build/BUILD.bazel

39 lines
789 B
Python
Raw Normal View History

load("@npm_bazel_typescript//:index.bzl", "ts_library")
load("//tools:defaults.bzl", "jasmine_node_test")
ts_library(
name = "build",
srcs = glob(
[
"**/*.ts",
],
exclude = ["*.spec.ts"],
),
module_name = "@angular/dev-infra-private/release/build",
visibility = ["//dev-infra:__subpackages__"],
deps = [
"//dev-infra/release/config",
"//dev-infra/utils",
"@npm//@types/node",
"@npm//@types/yargs",
],
)
ts_library(
name = "test_lib",
srcs = glob([
"*.spec.ts",
]),
deps = [
":build",
"//dev-infra/release/config",
"@npm//@types/jasmine",
"@npm//@types/node",
],
)
jasmine_node_test(
name = "test",
deps = [":test_lib"],
)