Gazelle is a Bazel build file generator for Bazel projects. It natively supports Go and protobuf, and it may be extended to support new languages and custom rule sets.
Apache License 2.0
1.21k
stars
382
forks
source link
refactor: ensure rule index not modified after indexing #1877
What package or component does this PR mostly affect?
all
What does this PR do? Why is it needed?
Assert no new rules are added after rules have been indexed. This should never happen but an assertion is probably worth doing, especially as we move toward persisting the index and loading from a cache.
What type of PR is this? Other
What package or component does this PR mostly affect? all
What does this PR do? Why is it needed? Assert no new rules are added after rules have been indexed. This should never happen but an assertion is probably worth doing, especially as we move toward persisting the index and loading from a cache.