make go.*
This commit is contained in:
parent
89eb940a9e
commit
581a4d96fc
3
Makefile
3
Makefile
|
@ -1,7 +1,8 @@
|
|||
VERSION = $(shell git describe --tags)
|
||||
|
||||
run: build
|
||||
./go-clone --work github.com/rclone/rclone
|
||||
@#./go-clone --work github.com/rclone/rclone
|
||||
./go-clone --work go.wit.com/apps/basicwindow
|
||||
|
||||
vet:
|
||||
@GO111MODULE=off go vet
|
||||
|
|
7
main.go
7
main.go
|
@ -43,7 +43,12 @@ func main() {
|
|||
rv = repolist.AutotypistView(b)
|
||||
|
||||
os.Setenv("REPO_AUTO_CLONE", "true")
|
||||
rv.NewRepo(myargs.Repo)
|
||||
newr, err := rv.NewRepo(myargs.Repo)
|
||||
if err != nil {
|
||||
log.Info("could not download:", err)
|
||||
os.Exit(-1)
|
||||
}
|
||||
newr.Status.MakeRedomod()
|
||||
|
||||
// rv.NewRepo("go.wit.com/apps/helloworld")
|
||||
|
||||
|
|
Loading…
Reference in New Issue