Skip to content

Commit 22d96e1

Browse files
authored
build: point to the new material.angular.io workspace (angular#30213)
Bazel needs to be told about the nested workspace, to avoid descending into that folder. Followup for angular#30208
1 parent 9cd1d30 commit 22d96e1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

WORKSPACE

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ workspace(
44
managed_directories = {"@npm": ["node_modules"]},
55
)
66

7+
# Point to the nested WORKSPACE we merged from github.com/angular/material.angular.io
8+
# NB: even though this isn't referenced anywhere, it's required for Bazel to know about the
9+
# nested workspace so that wildcard patterns like //... don't descend into it.
10+
local_repository(
11+
name = "material_angular_io",
12+
path = "./material.angular.io",
13+
)
14+
715
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
816

917
# Add NodeJS rules

0 commit comments

Comments
 (0)