mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53: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
|
||||
}
|
||||
|
||||
if [ ! -d 3party/boost/tools ]; then
|
||||
echo "Cloning all submodules..."
|
||||
git submodule update --init --recursive --depth 1
|
||||
fi
|
||||
|
||||
echo "Checking submodules..."
|
||||
git submodule update --init --recursive --depth 1
|
||||
|
||||
if [ ! -d 3party/boost/boost ]; then
|
||||
echo "Bootstrapping the boost C++ library..."
|
||||
pushd 3party/boost/
|
||||
|
||||
Reference in New Issue
Block a user