Skip to content

Commit 41af5a7

Browse files
committed
fix: install bazelisk on windows/macos instead of bazel
1 parent 9da09a7 commit 41af5a7

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

cspell.config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ words:
1313
- aminya
1414
- applellvm
1515
- bazel
16+
- bazelisk
1617
- copr
1718
- vbatts
1819
- buildtools

dist/setup_cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup_cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup_cpp.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/setup_cpp.mjs.map

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/bazel/bazel.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ import { execSudo } from "../utils/exec/sudo"
1111
export async function setupBazel(version: string, _setupDir: string, _arch: string) {
1212
switch (process.platform) {
1313
case "win32": {
14-
return setupChocoPack("bazel", version)
14+
// install bazelisk because it contains both
15+
return setupChocoPack("bazelisk", version)
1516
}
1617
case "darwin": {
17-
return setupBrewPack("bazel", version)
18+
// install bazelisk because it contains both
19+
return setupBrewPack("bazelisk", version)
1820
}
1921
case "linux": {
2022
if (isArch()) {

0 commit comments

Comments
 (0)