Update submodules at checkout time to fix #675

This commit is contained in:
Leonardo Mariscal 2019-07-16 10:32:17 -05:00 committed by Dominik Picheta
commit 7c2b9f612e

View file

@ -24,6 +24,7 @@ proc doCheckout(meth: DownloadMethod, downloadDir, branch: string) =
# clone has happened. Like in the case of git on Windows where it
# messes up the damn line endings.
doCmd("git checkout --force " & branch)
doCmd("git submodule update --recursive")
of DownloadMethod.hg:
cd downloadDir:
doCmd("hg checkout " & branch)