We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cd91ef commit a6f8782Copy full SHA for a6f8782
src/ci/scripts/install-ninja.sh
@@ -6,9 +6,13 @@ IFS=$'\n\t'
6
7
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
8
9
+# Check and set default values for variables
10
+: "${MIRRORS_BASE:?MIRRORS_BASE is not set}"
11
+: "${RUST_CONFIGURE_ARGS:=}"
12
+
13
if isWindows; then
- mkdir ninja
- curl -o ninja.zip "${MIRRORS_BASE}/2024-03-28-v1.11.1-ninja-win.zip"
14
+ mkdir -p ninja
15
+ curl -fLo ninja.zip "${MIRRORS_BASE}/2024-03-28-v1.11.1-ninja-win.zip"
16
7z x -oninja ninja.zip
17
rm ninja.zip
18
ciCommandSetEnv "RUST_CONFIGURE_ARGS" "${RUST_CONFIGURE_ARGS} --enable-ninja"
0 commit comments