Revision b60c9c18f11bb8cba5f6f263b64edc25fda15558 authored by Andrew Scott on 27 May 2021, 17:57:24 UTC, committed by Andrew Kushnir on 27 May 2021, 21:08:51 UTC
1 parent a261489
Raw File
BUILD.bazel
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")

package(default_visibility = ["//visibility:public"])

ts_library(
    name = "size-tracking",
    srcs = glob(
        ["**/*.ts"],
        exclude = ["**/*_spec.ts"],
    ),
    tsconfig = "//tools:tsconfig.json",
    deps = [
        "@npm//@types/node",
        "@npm//chalk",
        "@npm//source-map",
    ],
)

ts_library(
    name = "test_lib",
    testonly = True,
    srcs = glob(["**/*_spec.ts"]),
    deps = [
        ":size-tracking",
        "@npm//source-map",
    ],
)

jasmine_node_test(
    name = "test",
    data = [],
    deps = [
        ":test_lib",
        "@npm//source-map",
    ],
)
back to top