mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
Update build.sh to MSYS
This commit is contained in:
parent
35055b9b62
commit
6dfbd5462c
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user