Explain bazel is an alias to bazelisk, and recommend that for linux (#4603)

Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
Dana Jansens
2024-12-03 21:30:56 +00:00
committed by GitHub
co-authored by Jon Ross-Perkins
parent 96b5b34a2a
commit dc5edb88fb
+3 -3
View File
@@ -81,8 +81,8 @@ pre-commit install
Although the `run_bazelisk` script can make it easy to get started, if you're
frequently building Carbon, it can be a bit much to type. Consider either
aliasing `bazel` to the `run_bazelisk.py` script, or
[downloading a bazelisk release](https://github.com/bazelbuild/bazelisk) and
adding it to your `$PATH`.
[downloading a bazelisk release](https://github.com/bazelbuild/bazelisk), adding
it to your `$PATH`, and aliasing `bazel` to it.
#### Old `clang` versions
@@ -131,7 +131,7 @@ gh repo fork --clone carbon-language/carbon-lang
cd carbon-lang
pre-commit install
# Run tests.
# Run tests. Note homebrew makes `bazel` an alias to `bazelisk`.
bazel test //...:all
```