-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from bazeliskrc to bazelversion (#4612)
The only documentation I can find for `.bazelversion` is in https://github.com/bazelbuild/bazelisk/blob/master/README.md. However, `bazel` will error out if it doesn't match the `.bazelversion`. For example: ``` ╚╡/usr/bin/bazel build :all ERROR: The project you're trying to build requires Bazel 7.3.0 (specified in [elided]/carbon-lang/.bazelversion), but it wasn't found in /usr/bin. ``` Switching to this because the `MODULE.bazel` requires tighter version pinning in order to avoid churn, and this should help catch mistakes early. In `MODULE.bazel`, demote mention of the version issue because it should only really occur now when the version is being deliberately changed, so the connection should be more apparent.
- Loading branch information
Showing
4 changed files
with
4 additions
and
22 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters