Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
|
b3dc0e265e | |
|
953a1cd5d5 | |
|
7396af67a1 |
4
build
4
build
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
# make build
|
# make build
|
||||||
|
|
||||||
mkdir -p files/usr/lib/go-gui
|
mkdir -p files/usr/lib/go-gui-toolkits
|
||||||
cp ~/go/lib/go-gui/*.so files/usr/lib/go-gui/
|
cp -a ~/go/lib/go-gui/*.so files/usr/lib/go-gui-toolkits/
|
||||||
|
|
10
main.go
10
main.go
|
@ -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.SortByGoPath()
|
all := forge.Repos.SortByFullPath()
|
||||||
for all.Scan() {
|
for all.Scan() {
|
||||||
check := all.Next()
|
check := all.Next()
|
||||||
|
|
||||||
repotype := check.RepoType()
|
repotype := check.GetRepoType()
|
||||||
if repotype != "plugin" {
|
if repotype != "plugin" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if forge.Config.IsReadOnly(check.GoPath) {
|
if forge.Config.IsReadOnly(check.GetGoPath()) {
|
||||||
// ignore read only stuff
|
// ignore read only stuff
|
||||||
continue
|
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 {
|
if err := forge.Install(check, nil); err != nil {
|
||||||
log.Warn("INSTALL FAILED", check.GoPath, err)
|
log.Warn("INSTALL FAILED", check.GetGoPath(), err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue