Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit d8357bb

Browse files
committed
Turn on --nolegacy_external_runfiles flag
1 parent 022479f commit d8357bb

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ test --test_output=errors
1515

1616
# Use the Angular 6 compiler
1717
build --define=compile=legacy
18+
19+
# Turn off legacy external runfiles
20+
run --nolegacy_external_runfiles
21+
test --nolegacy_external_runfiles

WORKSPACE

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@ http_archive(
2020
sha256 = "edf39af5fc257521e4af4c40829fffe8fba6d0ebff9f4dd69a6f8f1223ae047b",
2121
)
2222

23+
# build_bazel_rules_nodejs 0.15.3 supports the --nolegacy_external_runfiles flag
24+
http_archive(
25+
name = "build_bazel_rules_nodejs",
26+
urls = ["https://github.com/bazelbuild/rules_nodejs/archive/0.15.3.zip"],
27+
strip_prefix = "rules_nodejs-0.15.3",
28+
)
29+
30+
# TODO(gmagolan): updated to tagged release
31+
http_archive(
32+
name = "build_bazel_rules_typescript",
33+
urls = ["https://github.com/gregmagolan/rules_typescript/archive/0e1d50f563db50037d5b2240d16232be736e30e5.zip"],
34+
strip_prefix = "rules_typescript-0e1d50f563db50037d5b2240d16232be736e30e5",
35+
)
36+
2337
# The @angular repo contains rule for building Angular applications
2438
# TODO(gmagolan): Update to next 7.0.x tag when it is released
2539
http_archive(

0 commit comments

Comments
 (0)