Compare commits

..

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

2 changed files with 7 additions and 7 deletions

4
build
View File

@ -2,5 +2,5 @@
# make build
mkdir -p files/usr/lib/go-gui-toolkits
cp -a ~/go/lib/go-gui/*.so files/usr/lib/go-gui-toolkits/
mkdir -p files/usr/lib/go-gui
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
func main() {
forge := forgepb.Init()
all := forge.Repos.SortByFullPath()
all := forge.Repos.SortByGoPath()
for all.Scan() {
check := all.Next()
repotype := check.GetRepoType()
repotype := check.RepoType()
if repotype != "plugin" {
continue
}
if forge.Config.IsReadOnly(check.GetGoPath()) {
if forge.Config.IsReadOnly(check.GoPath) {
// ignore read only stuff
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 {
log.Warn("INSTALL FAILED", check.GetGoPath(), err)
log.Warn("INSTALL FAILED", check.GoPath, err)
}
}
}