mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Add enough BUILD files to make it possible to `bazel build packages/core/test` Also re-format BUILD.bazel files with Buildifier. Add a CI lint check that they stay formatted. PR Close #20768
24 lines
504 B
Text
24 lines
504 B
Text
package(default_visibility = ["//visibility:public"])
|
|
|
|
load("@build_bazel_rules_typescript//:defs.bzl", "ts_library", "ts_config")
|
|
|
|
ts_config(
|
|
name = "tsconfig",
|
|
src = "tsconfig-build.json",
|
|
deps = ["//packages:tsconfig-build.json"],
|
|
)
|
|
|
|
ts_library(
|
|
name = "compiler-cli",
|
|
srcs = glob(
|
|
[
|
|
"*.ts",
|
|
"src/**/*.ts",
|
|
],
|
|
),
|
|
module_name = "@angular/compiler-cli",
|
|
tsconfig = ":tsconfig",
|
|
deps = [
|
|
"//packages/compiler",
|
|
],
|
|
)
|