From 7c2b9f612e6a42609f28f8f51de4ab6949ced4a0 Mon Sep 17 00:00:00 2001 From: Leonardo Mariscal Date: Tue, 16 Jul 2019 10:32:17 -0500 Subject: [PATCH] Update submodules at checkout time to fix #675 --- src/nimblepkg/download.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nimblepkg/download.nim b/src/nimblepkg/download.nim index f8954e9..b504b61 100644 --- a/src/nimblepkg/download.nim +++ b/src/nimblepkg/download.nim @@ -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)