need to recursive clone

This commit is contained in:
Jeff Carr 2024-12-03 03:51:40 -06:00
parent f459087158
commit c2bd3b64be
1 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import (
"os"
"strings"
"go.wit.com/lib/gui/shell"
"go.wit.com/log"
)
@ -31,7 +32,9 @@ func repomap() {
repo := me.forge.Repos.FindByGoPath(gopath)
if repo == nil {
if argv.Clone {
me.forge.Clone(gopath)
cmd := []string{"go-clone", "--recursive", gopath}
shell.RunRealtime(cmd)
// me.forge.Clone(gopath)
} else {
log.Info(gopath, "need to clone")
}