clone is in repostatus
This commit is contained in:
parent
77aa2ee639
commit
daa02ea023
13
main.go
13
main.go
|
@ -72,19 +72,6 @@ func main() {
|
||||||
log.Info("Creating", wdir + "/go.work")
|
log.Info("Creating", wdir + "/go.work")
|
||||||
rv.MakeGoWork()
|
rv.MakeGoWork()
|
||||||
}
|
}
|
||||||
|
|
||||||
// for _, repo := range rv.AllRepos() {
|
|
||||||
// log.Info("found repo", repo.GoPath(), repo.Status.Path())
|
|
||||||
// }
|
|
||||||
}
|
|
||||||
|
|
||||||
func clone(path string) {
|
|
||||||
pwd, err := os.Getwd()
|
|
||||||
if err != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
shell.RunPath(pwd, []string{"git", "clone", path})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// look for or make a go.work file
|
// look for or make a go.work file
|
||||||
|
|
Loading…
Reference in New Issue