summaryrefslogtreecommitdiffstats
path: root/src/jaegertracing/opentelemetry-cpp/ci/install_windows_bazelisk.ps1
blob: de70bba6fc5a25e6339b589ff73bdba2fc85804c (plain)
1
2
3
4
5
6
7
8
$ErrorActionPreference = "Stop"
trap { $host.SetShouldExit(1) }

$BAZELISK_VERSION="1.7.4"
$CWD=(Get-Item -Path ".\").FullName
(new-object System.Net.WebClient). `
   DownloadFile("https://github.com/bazelbuild/bazelisk/releases/download/v$BAZELISK_VERSION/bazelisk-windows-amd64.exe",
                "C:\windows\system32\bazel.exe")