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 set -ex
ARCH=$(uname) ARCH=$(uname)
case "$ARCH" in MINGW*) case "$ARCH" in
ARCH=Windows MINGW*) ARCH=Windows;;
MSYS*) ARCH=Windows;;
esac esac
# Clang # Clang
@ -36,7 +37,7 @@ if [ "$ARCH" = Windows ]; then
./rustup-init.exe -y -v --no-modify-path ./rustup-init.exe -y -v --no-modify-path
fi fi
if ! which sccache >/dev/null 2>&1; then 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
fi fi