diff --git a/.github/workflows/bun.yml b/.github/workflows/bun.yml index b7002e0ef8..cd645a3322 100644 --- a/.github/workflows/bun.yml +++ b/.github/workflows/bun.yml @@ -109,7 +109,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Checkout submodules - run: git -c submodule."src/bun.js/WebKit".update=none submodule update --init --recursive --depth=1 --progress -j $(sysctl -n hw.ncpu) + run: git submodule update --init --recursive --depth=1 --progress -j $(sysctl -n hw.ncpu) - name: Install dependencies env: CPU_TARGET: ${{ matrix.cpu }} diff --git a/.gitmodules b/.gitmodules index 138c5d05f5..ada63fb9d6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,48 +3,69 @@ path = src/deps/picohttpparser url = https://github.com/h2o/picohttpparser.git ignore = dirty depth = 1 +shallow = true +fetchRecurseSubmodules = false [submodule "src/javascript/jsc/WebKit"] - path = src/bun.js/WebKit +path = src/bun.js/WebKit url = https://github.com/Jarred-Sumner/WebKit.git ignore = dirty depth = 1 +update = none +shallow = true +fetchRecurseSubmodules = false [submodule "src/deps/mimalloc"] path = src/deps/mimalloc url = https://github.com/Jarred-Sumner/mimalloc.git ignore = dirty depth = 1 +shallow = true +fetchRecurseSubmodules = false [submodule "src/deps/zlib"] path = src/deps/zlib url = https://github.com/cloudflare/zlib.git ignore = dirty depth = 1 +shallow = true +fetchRecurseSubmodules = false [submodule "src/deps/libarchive"] path = src/deps/libarchive url = https://github.com/libarchive/libarchive.git ignore = dirty depth = 1 +shallow = true +fetchRecurseSubmodules = false [submodule "src/deps/boringssl"] path = src/deps/boringssl url = https://github.com/google/boringssl.git ignore = dirty depth = 1 +shallow = true +fetchRecurseSubmodules = false [submodule "src/deps/libbacktrace"] path = src/deps/libbacktrace url = https://github.com/ianlancetaylor/libbacktrace ignore = dirty depth = 1 +shallow = true +fetchRecurseSubmodules = false [submodule "src/deps/lol-html"] path = src/deps/lol-html url = https://github.com/cloudflare/lol-html ignore = dirty depth = 1 +shallow = true +fetchRecurseSubmodules = false [submodule "src/deps/uws"] path = src/deps/uws url = https://github.com/Jarred-Sumner/uWebSockets ignore = dirty depth = 1 +shallow = true +fetchRecurseSubmodules = true [submodule "src/deps/tinycc"] path = src/deps/tinycc url = https://github.com/Jarred-Sumner/tinycc.git ignore = dirty depth = 1 +shallow = true +fetchRecurseSubmodules = false