summaryrefslogtreecommitdiff
path: root/testGui/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'testGui/main.go')
-rw-r--r--testGui/main.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/testGui/main.go b/testGui/main.go
index 4c55f66..e1a877e 100644
--- a/testGui/main.go
+++ b/testGui/main.go
@@ -22,12 +22,6 @@ func main() {
me.forge = forgepb.Init()
me.forge.ConfigPrintTable()
- if err := me.forge.Machine.ConfigLoad(); err != nil {
- log.Warn("zoopb.ConfigLoad() failed", err)
- os.Exit(-1)
- }
- me.forge.Machine.InitWit()
-
// setup the GUI
me.myGui = gui.New()
me.myGui.Default()
@@ -42,6 +36,13 @@ func main() {
rloop := me.repoList.ReposSortByName()
for rloop.Scan() {
repo := rloop.Repo()
+
+ repotype := repo.RepoType()
+ if repotype != "binary" {
+ // we only want to process golang binaries where package == 'main'
+ // log.Info("skipping repo", repo.GoPath(), repotype)
+ continue
+ }
// var cmd []string
var start string
var end string