https://github.com/angular/angular
Raw File
Tip revision: 96efb4b165b24912c415bcb9708f68f128e56f72 authored by George Kalpakas on 09 January 2018, 18:55:02 UTC
ci: temporary work-around for Travis issue (#21422)
Tip revision: 96efb4b
BUILD.bazel
package(default_visibility = ["//visibility:public"])

exports_files(["tsconfig.json"])

# This rule belongs in node_modules/BUILD
# It's here as a workaround for
# https://github.com/bazelbuild/bazel/issues/374#issuecomment-296217940
filegroup(
    name = "node_modules",
    # Performance workaround: list individual files
    # Reduces the number of files as inputs to nodejs_binary:
    # bazel query "deps(:node_modules)" | wc -l
    # This won't scale in the general case.
    # TODO(alexeagle): figure out what to do
    srcs = glob(["/".join([
        "node_modules",
        pkg,
        "**",
        ext,
    ]) for pkg in [
        "jasmine",
        "typescript",
        "zone.js",
        "tsutils",
        "@types/jasmine",
        "@types/node",
        "@types/source-map",
        "tsickle",
        "hammerjs",
        "protobufjs",
        "bytebuffer",
        "reflect-metadata",
        "source-map-support",
        "minimist",
    ] for ext in [
        "*.js",
        "*.json",
        "*.d.ts",
    ]]),
)
back to top