Update build.sh to MSYS

This commit is contained in:
klzgrad 2019-01-11 13:49:14 +00:00
parent 35055b9b62
commit 6dfbd5462c

View File

@ -2,8 +2,9 @@
set -ex
ARCH=$(uname)
case "$ARCH" in MINGW*)
ARCH=Windows
case "$ARCH" in
MINGW*) ARCH=Windows;;
MSYS*) ARCH=Windows;;
esac
# Clang
@ -36,7 +37,7 @@ if [ "$ARCH" = Windows ]; then
./rustup-init.exe -y -v --no-modify-path
fi
if ! which sccache >/dev/null 2>&1; then
cargo install --git https://github.com/mozilla/sccache.git --debug
cargo install --git https://github.com/mozilla/sccache.git
fi
fi