build: Fix windows tests (#24927)

closes #24927
This commit is contained in:
Alex Eagle 2018-07-17 06:44:28 -07:00 committed by Victor Berchet
parent 3cd9645daa
commit 23766b85e9
No known key found for this signature in database
GPG Key ID: 74ACF42B93D98910
2 changed files with 6 additions and 4 deletions

View File

@ -20,9 +20,9 @@ http_archive(
http_archive( http_archive(
name = "build_bazel_rules_typescript", name = "build_bazel_rules_typescript",
url = "https://github.com/bazelbuild/rules_typescript/archive/0.15.1.zip", url = "https://github.com/bazelbuild/rules_typescript/archive/0.15.3.zip",
strip_prefix = "rules_typescript-0.15.1", strip_prefix = "rules_typescript-0.15.3",
sha256 = "3792cc20ef13bb1d1d8b1760894c3320f02a87843e3a04fed7e8e454a75328b6", sha256 = "a2b26ac3fc13036011196063db1bf7f1eae81334449201dc28087ebfa3708c99",
) )
http_archive( http_archive(

View File

@ -6,7 +6,9 @@ load("//tools:defaults.bzl", "ng_module")
ng_module( ng_module(
name = "static", name = "static",
srcs = glob(["**/*.ts"]), # Workaround for Bazel issue where Windows symlinks
# aka. junctions are not traversed by glob
srcs = glob(["*.ts"]) + glob(["src/**/*.ts"]),
module_name = "@angular/upgrade/static", module_name = "@angular/upgrade/static",
deps = [ deps = [
"//packages/core", "//packages/core",