summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 07:09:22 -0600
committerJeff Carr <[email protected]>2024-12-17 07:09:22 -0600
commit7396af67a199f8f10d3523913bf9c6e1b5aee9e9 (patch)
tree814ba89363bd368a4ffd2d47068ef4e9edd212b6 /main.go
parentedfa36b419e0be1a46ee8150e408b08ef381ed02 (diff)
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.go b/main.go
index 03e8786..f2702b0 100644
--- a/main.go
+++ b/main.go
@@ -8,23 +8,23 @@ import (
// go will sit here until the window exits
func main() {
forge := forgepb.Init()
- all := forge.Repos.SortByGoPath()
+ all := forge.Repos.SortByFullPath()
for all.Scan() {
check := all.Next()
- repotype := check.RepoType()
+ repotype := check.GetRepoType()
if repotype != "plugin" {
continue
}
- if forge.Config.IsReadOnly(check.GoPath) {
+ if forge.Config.IsReadOnly(check.GetGoPath()) {
// ignore read only stuff
continue
}
- log.Info("STARTING 'make install' in", check.GoPath)
+ log.Info("STARTING 'make install' in", check.GetGoPath())
if err := forge.Install(check, nil); err != nil {
- log.Warn("INSTALL FAILED", check.GoPath, err)
+ log.Warn("INSTALL FAILED", check.GetGoPath(), err)
}
}
}