summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-03-08 14:41:22 -0600
committerJeff Carr <[email protected]>2024-03-08 14:41:22 -0600
commit581a4d96fcdcaf93a3c3169ecc60c2f603ceb7ae (patch)
treeaf699a03a6af28b0bc4573da995c2bd78f18fbfc
parent89eb940a9e7b400f486366de92621508be662046 (diff)
make go.*
-rw-r--r--Makefile3
-rw-r--r--main.go7
2 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2e9d4fa..001d032 100644
--- a/Makefile
+++ b/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
diff --git a/main.go b/main.go
index 661c115..a37f07f 100644
--- a/main.go
+++ b/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")