https://github.com/angular/angular
Raw File
Tip revision: 106b85d843f2d1040e6909115678287256188c6a authored by Alex Eagle on 20 November 2018, 14:21:05 UTC
build: update yarn version (#27193)
Tip revision: 106b85d
BUILD.bazel
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",
        "@ngdeps//typescript",
    ],
)

ts_library(
    name = "test_lib",
    testonly = 1,
    srcs = glob(
        ["**/*_spec.ts"],
        exclude = ["symbol_extractor_spec/**"],
    ),
    deps = [
        ":lib",
        "//packages:types",
        "@ngdeps//typescript",
    ],
)

jasmine_node_test(
    name = "test",
    data = glob(["symbol_extractor_spec/**"]),
    deps = [
        ":test_lib",
    ],
)
back to top