The Wayback Machine - https://web.archive.org/web/20210210103946/https://github.com/github/gitignore/pull/3593
Skip to content
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

Update Bazel.gitignore #3593

Open
wants to merge 1 commit into
base: master
from
Open

Update Bazel.gitignore #3593

wants to merge 1 commit into from

Conversation

@symbiont-ji
Copy link

@symbiont-ji symbiont-ji commented Dec 4, 2020

  • 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant