Skip to content

Commit

Permalink
Merge pull request #605 from artichoke/install-emsdk-git
Browse files Browse the repository at this point in the history
Pass --depth 1 when cloning emsdk
  • Loading branch information
lopopolo authored Aug 5, 2021
2 parents 40e9c57 + 4c29352 commit 55c239e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install-emscripten-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ensure_emsdk() {
# shellcheck disable=SC2091
if [ ! -f "emsdk/emsdk" ]; then
git clone https://github.com/emscripten-core/emsdk.git emsdk
git clone --depth 1 https://github.com/emscripten-core/emsdk.git emsdk
./emsdk/emsdk install "$(cat emscripten-toolchain)"
fi
./emsdk/emsdk activate "$(cat emscripten-toolchain)"
Expand Down

0 comments on commit 55c239e

Please sign in to comment.