Skip to content

Update Bazel.gitignore #3593

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

symbiont-ji
Copy link

  • The bazel-* line should not start with a /, as the root of the bazel source tree is not necessarily the root of the repo.
  • Gazelle-specific rule: Gazelle has an option to accept several different filenames as BUILD files; they don't even have to be named BUILD.*. It will use the first name in the rule for the files it generates. Some people prefer not to store generated files in the repo, hence this rule.

Reasons for making this change:

Better rules for bazel

Links to documentation supporting these rule changes:

https://bazel.build/ and https://github.com/bazelbuild/bazel-gazelle

If this is a new template:

  • Link to application or project’s homepage: TODO
* The `bazel-*` line should not start with a `/`, as the root of the bazel source tree is not necessarily the root of the repo.
* Gazelle-specific rule: Gazelle has an option to accept several different filenames as BUILD files; they don't even have to be named BUILD.*. It will use the first name in the rule for the files it *generates*. Some people prefer not to store generated files in the repo, hence this rule.
Copy link

github-actions bot commented Jun 1, 2025

This PR is stale because there have been no updates in 90 days. It will close after 180 days of inactivity. Leave a comment if you want to keep it open 😄

@github-actions github-actions bot added the stale label Jun 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants