Update submodules at checkout time to fix #675
This commit is contained in:
parent
5e72840336
commit
7c2b9f612e
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ proc doCheckout(meth: DownloadMethod, downloadDir, branch: string) =
|
||||||
# clone has happened. Like in the case of git on Windows where it
|
# clone has happened. Like in the case of git on Windows where it
|
||||||
# messes up the damn line endings.
|
# messes up the damn line endings.
|
||||||
doCmd("git checkout --force " & branch)
|
doCmd("git checkout --force " & branch)
|
||||||
|
doCmd("git submodule update --recursive")
|
||||||
of DownloadMethod.hg:
|
of DownloadMethod.hg:
|
||||||
cd downloadDir:
|
cd downloadDir:
|
||||||
doCmd("hg checkout " & branch)
|
doCmd("hg checkout " & branch)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue