]> git.lizzy.rs Git - rust.git/blob - src/ci/scripts/install-wix.sh
Rollup merge of #107429 - tgross35:from-bytes-until-null-stabilization, r=dtolnay
[rust.git] / src / ci / scripts / install-wix.sh
1 #!/bin/bash
2 # We use the WIX toolset to create combined installers for Windows, and these
3 # binaries are downloaded from https://github.com/wixtoolset/wix3 originally
4
5 set -euo pipefail
6 IFS=$'\n\t'
7
8 source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
9
10 if isWindows; then
11     ciCommandSetEnv WIX "$(pwd)/wix"
12
13     curl -O "${MIRRORS_BASE}/wix311-binaries.zip"
14     mkdir -p wix/bin
15     cd wix/bin
16     7z x ../../wix311-binaries.zip
17 fi