Compare commits

..

No commits in common. "master" and "v0.22.11" have entirely different histories.

2 changed files with 7 additions and 7 deletions

4
build
View File

@ -2,5 +2,5 @@
# make build # make build
mkdir -p files/usr/lib/go-gui-toolkits mkdir -p files/usr/lib/go-gui
cp -a ~/go/lib/go-gui/*.so files/usr/lib/go-gui-toolkits/ cp ~/go/lib/go-gui/*.so files/usr/lib/go-gui/

10
main.go
View File

@ -8,23 +8,23 @@ import (
// go will sit here until the window exits // go will sit here until the window exits
func main() { func main() {
forge := forgepb.Init() forge := forgepb.Init()
all := forge.Repos.SortByFullPath() all := forge.Repos.SortByGoPath()
for all.Scan() { for all.Scan() {
check := all.Next() check := all.Next()
repotype := check.GetRepoType() repotype := check.RepoType()
if repotype != "plugin" { if repotype != "plugin" {
continue continue
} }
if forge.Config.IsReadOnly(check.GetGoPath()) { if forge.Config.IsReadOnly(check.GoPath) {
// ignore read only stuff // ignore read only stuff
continue continue
} }
log.Info("STARTING 'make install' in", check.GetGoPath()) log.Info("STARTING 'make install' in", check.GoPath)
if err := forge.Install(check, nil); err != nil { if err := forge.Install(check, nil); err != nil {
log.Warn("INSTALL FAILED", check.GetGoPath(), err) log.Warn("INSTALL FAILED", check.GoPath, err)
} }
} }
} }