Skip to content

Commit 88afb66

Browse files
longlhoclaude
andauthored
fix: remove ignore_directories from REPO.bazel for Bazel 7 compat (#47)
`ignore_directories` was introduced in Bazel 8 and causes a parse error when this module is consumed by Bazel 7 users. Move the ignored dirs to `.bazelignore` which is supported across all Bazel versions. Fixes #40 Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2cd2bf8 commit 88afb66

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.bazelignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Examples are separate workspaces
2+
examples
3+
# Bazel convenience symlinks
4+
bazel-bin
5+
bazel-out
6+
bazel-rules_formatjs
7+
bazel-testlogs

REPO.bazel

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,3 @@ repo(
55
"//:package_metadata",
66
],
77
)
8-
9-
ignore_directories([
10-
# Examples are separate workspaces
11-
"examples",
12-
# Bazel convenience symlinks
13-
"bazel-bin",
14-
"bazel-out",
15-
"bazel-rules_formatjs",
16-
"bazel-testlogs",
17-
])

0 commit comments

Comments
 (0)