mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[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:
@@ -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/
|
||||||
|
|||||||
Reference in New Issue
Block a user