[build] Always try to init/update submodules (#1692)

submodules can be outdated etc when switching between branches, it makes sense to just always re-init them

Signed-off-by: Harry Bond <me@hbond.xyz>
Co-authored-by: Harry Bond <me@hbond.xyz>
Co-committed-by: Harry Bond <me@hbond.xyz>
This commit is contained in:
Harry Bond
2025-09-03 06:55:53 +02:00
committed by x7z4w
parent 8c19e6ef2e
commit fe9a679d10

View File

@@ -68,10 +68,10 @@ Diff() {
fi fi
} }
if [ ! -d 3party/boost/tools ]; then
echo "Cloning all submodules..." echo "Checking submodules..."
git submodule update --init --recursive --depth 1 git submodule update --init --recursive --depth 1
fi
if [ ! -d 3party/boost/boost ]; then if [ ! -d 3party/boost/boost ]; then
echo "Bootstrapping the boost C++ library..." echo "Bootstrapping the boost C++ library..."
pushd 3party/boost/ pushd 3party/boost/