From 4d90167cc39ba2bf15208acee0f72c66c24e46f7 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Wed, 18 Dec 2024 10:48:24 -0800 Subject: [PATCH] build: point to the new material.angular.io workspace Bazel needs to be told about the nested workspace, to avoid descending into that folder. Followup for #30208 --- WORKSPACE | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/WORKSPACE b/WORKSPACE index 654fc25023e8..4a699eedc643 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -4,6 +4,14 @@ workspace( managed_directories = {"@npm": ["node_modules"]}, ) +# Point to the nested WORKSPACE we merged from github.com/angular/material.angular.io +# NB: even though this isn't referenced anywhere, it's required for Bazel to know about the +# nested workspace so that wildcard patterns like //... don't descend into it. +local_repository( + name = "material_angular_io", + path = "./material.angular.io", +) + load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # Add NodeJS rules