Do git submodule init/update in bootstrap script

This commit is contained in:
Virgil Dupras 2016-05-25 21:15:56 -04:00
parent bb1f0f5be6
commit bb8a41f8c5
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,11 @@
PYTHON=python3
command -v $PYTHON -m venv >/dev/null 2>&1 || { echo >&2 "Python 3.3 required. Install it and try again. Aborting"; exit 1; }
if [ -d ".git" ]; then
git submodule init
git submodule update
fi
if [ -d "deps" ]; then
# We have a collection of dependencies in our source package. We might as well use it instead
# of downloading it from PyPI.