Skip to content

Commit

Permalink
build: point to the new material.angular.io workspace (#30213)
Browse files Browse the repository at this point in the history
Bazel needs to be told about the nested workspace, to avoid descending into that folder.

Followup for #30208
  • Loading branch information
alexeagle authored Dec 19, 2024
1 parent 9cd1d30 commit 22d96e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22d96e1

Please sign in to comment.