git clone --depth 1 emsdk (#1063)

This commit is contained in:
Dexter Chua 2021-01-07 16:01:25 +08:00 committed by GitHub
parent ec527fee02
commit 2454c483d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ all: emsdk/.complete
emsdk/.complete: ../Makefile.envs $(wildcard patches/*.patch)
if [ -d emsdk ]; then rm -rf emsdk; fi
git clone https://github.com/emscripten-core/emsdk.git
git clone --depth 1 https://github.com/emscripten-core/emsdk.git
cd emsdk && ./emsdk install --build=Release $(EMSCRIPTEN_VERSION)-fastcomp
git clone --branch $(BINARYEN_VERSION) --depth 1 https://github.com/WebAssembly/binaryen.git emsdk/binaryen
cat patches/*.patch | patch -p1