From dc5edb88fbdc712e9b74b907a3dd7f62f62fd032 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 3 Dec 2024 16:30:56 -0500 Subject: [PATCH] Explain bazel is an alias to bazelisk, and recommend that for linux (#4603) Co-authored-by: Jon Ross-Perkins --- docs/project/contribution_tools.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/project/contribution_tools.md b/docs/project/contribution_tools.md index 9cf8b562f03a6..49fd7f9211360 100644 --- a/docs/project/contribution_tools.md +++ b/docs/project/contribution_tools.md @@ -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 ```