Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions utils/init-submodules-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,18 @@
source ./safeCommandsSet.sh

if git submodule status 2>&1 | grep -iq "fatal: Not a git repository (or any of the parent directories): .git"; then

safe_cd "$(dirname "$0")"/../external/
git clone git@github.com:google/googletest.git
safe_cd googletest/
git checkout release-1.8.0

git clone --no-checkout https://github.com/nlohmann/json.git
safe_cd json/
git checkout v3.11.3
safe_cd -
git clone git@github.com:nlohmann/json.git

git clone --no-checkout https://github.com/pboettch/json-schema-validator.git
safe_cd json/
git checkout v3.4.0
git checkout 2.3.0
safe_cd -

else git submodule update --init;
fi
Loading