mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
Update build.sh to MSYS
This commit is contained in:
parent
d951cb4476
commit
7112fb3cd0
@ -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