diff options
| author | Jeff Carr <[email protected]> | 2025-09-11 17:42:23 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-11 17:42:23 -0500 |
| commit | b3f63523b44eed5c3428827d6cb7f69110bdaa8d (patch) | |
| tree | d349433a320a57ea21635e3b6154a23e47582182 /main.go | |
| parent | 3b559eff7e1542b18fb0ad02799731e4918fd88f (diff) | |
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 28 |
1 files changed, 12 insertions, 16 deletions
@@ -2,30 +2,26 @@ package main import ( "go.wit.com/lib/protobuf/forgepb" - "go.wit.com/log" ) // go will sit here until the window exits func main() { forge := forgepb.Init() - all := forge.Repos.SortByFullPath() - for all.Scan() { - check := all.Next() + cmd := []string{"make", "install"} + if repo := forge.Repos.FindByNamespace("go.wit.com/toolkits/gocui"); repo != nil { + repo.RunVerbose(cmd) + } - repotype := check.GetRepoType() - if repotype != "plugin" { - continue - } + if repo := forge.Repos.FindByNamespace("go.wit.com/toolkits/andlabs"); repo != nil { + repo.RunVerbose(cmd) + } - if forge.Config.IsReadOnly(check.GetGoPath()) { - // ignore read only stuff - continue - } + if repo := forge.Repos.FindByNamespace("go.wit.com/toolkits/nocui"); repo != nil { + repo.RunVerbose(cmd) + } - log.Info("STARTING 'make install' in", check.GetGoPath()) - if err := forge.Install(check, nil); err != nil { - log.Warn("INSTALL FAILED", check.GetGoPath(), err) - } + if repo := forge.Repos.FindByNamespace("go.wit.com/toolkits/fyne"); repo != nil { + repo.RunVerbose(cmd) } } |
