need to recursive clone
This commit is contained in:
parent
f459087158
commit
c2bd3b64be
|
@ -4,6 +4,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"go.wit.com/lib/gui/shell"
|
||||||
"go.wit.com/log"
|
"go.wit.com/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -31,7 +32,9 @@ func repomap() {
|
||||||
repo := me.forge.Repos.FindByGoPath(gopath)
|
repo := me.forge.Repos.FindByGoPath(gopath)
|
||||||
if repo == nil {
|
if repo == nil {
|
||||||
if argv.Clone {
|
if argv.Clone {
|
||||||
me.forge.Clone(gopath)
|
cmd := []string{"go-clone", "--recursive", gopath}
|
||||||
|
shell.RunRealtime(cmd)
|
||||||
|
// me.forge.Clone(gopath)
|
||||||
} else {
|
} else {
|
||||||
log.Info(gopath, "need to clone")
|
log.Info(gopath, "need to clone")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue