mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
18 lines
434 B
Bash
Executable File
18 lines
434 B
Bash
Executable File
#!/bin/bash
|
|
# We use the WIX toolset to create combined installers for Windows, and these
|
|
# binaries are downloaded from https://github.com/wixtoolset/wix3 originally
|
|
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
|
|
|
|
if isWindows; then
|
|
ciCommandSetEnv WIX "$(pwd)/wix"
|
|
|
|
curl -O "${MIRRORS_BASE}/wix311-binaries.zip"
|
|
mkdir -p wix/bin
|
|
cd wix/bin
|
|
7z x ../../wix311-binaries.zip
|
|
fi
|