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
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,12 +172,18 @@ You can set `BAZELISK_CLEAN` to run `clean --expunge` between builds when migrat
172
172
## tools/bazel
173
173
174
174
If `tools/bazel` exists in your workspace root and is executable, Bazelisk will run this file, instead of the Bazel version it downloaded.
175
+
175
176
It will set the environment variable `BAZEL_REAL` to the path of the downloaded Bazel binary.
176
177
This can be useful, if you have a wrapper script that e.g. ensures that environment variables are set to known good values.
177
178
This behavior can be disabled by setting the environment variable `BAZELISK_SKIP_WRAPPER` to any value (except the empty string) before launching Bazelisk.
178
179
179
180
You can control the user agent that Bazelisk sends in all HTTP requests by setting `BAZELISK_USER_AGENT` to the desired value.
180
181
182
+
On Windows, Bazelisk will also consider the following files in addition to `tools/bazel`:
183
+
184
+
*`tools/bazel.ps1` (PowerShell)
185
+
*`tools/bazel.bat`
186
+
181
187
# .bazeliskrc configuration file
182
188
183
189
A `.bazeliskrc` file in the root directory of a workspace or the user home directory allows users to set environment variables persistently. (The Python implementation of Bazelisk doesn't check the user home directory yet, only the workspace directory.)
0 commit comments