need to recursive clone
This commit is contained in:
parent
f459087158
commit
c2bd3b64be
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue