Skip to content

Commit

Permalink
build: point to the new material.angular.io workspace
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 angular#30208
  • Loading branch information
alexeagle authored Dec 18, 2024
1 parent 5347d8c commit 4d90167
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 4d90167

Please sign in to comment.