You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bazel supports build files named either BUILD or BUILD.bazel. The bazel team doesn't seem to make an explicit recommendation, but this issue bazelbuild/bazel#4517 seems to show that some of the community recommends the more explicit BUILD.bazel naming.
We might want to consider renaming our build files to BUILD.bazel. This could also be an advantage when this code is used in an environment where blazeBUILD files are also needed. 😉
The text was updated successfully, but these errors were encountered:
Fixes: #7720
Bazel supports `BUILD` and `BUILD.bazel`. The latter seems to be preferable because it's less likely to conflict with something else, and it will make our imports a bit easier. I also changed `WORKSPACE` -> `WORKSPACE.bazel`.
This change should be transparent to our users.
NOTES:
* There are still generic uses of the term "BUILD" file. This is common in bazel's docs, and I think it's fine in ours as well. That is, we can still say "update the BUILD file", and it means to update whichever bazel build file you have (either `BUILD` or `BUILD.bazel`). There were a few places where we referred to a _specific_ file, and in those cases I updated the documentation.
* We still have some `bazel/*.BUILD` files. I left these because they already have specific names. We _could_ rename them to something like `foo.BUILD.bazel` or `foo.bazel` instead, but that didn't seem much clearer.
Bazel supports build files named either
BUILD
orBUILD.bazel
. The bazel team doesn't seem to make an explicit recommendation, but this issue bazelbuild/bazel#4517 seems to show that some of the community recommends the more explicitBUILD.bazel
naming.We might want to consider renaming our build files to
BUILD.bazel
. This could also be an advantage when this code is used in an environment where blazeBUILD
files are also needed. 😉The text was updated successfully, but these errors were encountered: