blob: 7dbb34c14fbf0917299fc5abd9a0de2b18918300 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"
cd ..
NAMES=$(cat .gitmodules | grep 'path = ' | awk '{print $3}')
# we will exclude webkit unless you explicity clone it yourself (a huge download)
if [ ! -e "src/bun.js/WebKit/.git" ]; then
NAMES=$(echo "$NAMES" | grep -v 'WebKit')
fi
set -euxo pipefail
git submodule update --init --recursive --progress --depth=1 --checkout $NAMES
|