summaryrefslogtreecommitdiff
path: root/globalBuildOptions.go
diff options
context:
space:
mode:
Diffstat (limited to 'globalBuildOptions.go')
-rw-r--r--globalBuildOptions.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/globalBuildOptions.go b/globalBuildOptions.go
index f54e8e4..a91b18f 100644
--- a/globalBuildOptions.go
+++ b/globalBuildOptions.go
@@ -1,14 +1,14 @@
// This is a simple example
package main
-import (
+import (
"os"
"strings"
"go.wit.com/log"
"go.wit.com/gui/gui"
- "go.wit.com/gui/gadgets"
+ "go.wit.com/lib/gadgets"
)
func doesExist(path string) bool {
@@ -26,7 +26,7 @@ func globalBuildOptions(box *gui.Node) {
groupvbox := group1.NewBox("bw vbox", false)
// grouphbox := groupvbox.NewBox("bw hbox", true)
- grid := groupvbox.NewGrid("buildOptions",2, 1)
+ grid := groupvbox.NewGrid("buildOptions", 2, 1)
me.mainBranch = gadgets.NewBasicCombobox(grid, "default main branch")
me.mainBranch.AddText("guimain")
@@ -47,12 +47,12 @@ func globalBuildOptions(box *gui.Node) {
guiBranch.AddText("guimaster")
guiBranch.AddText("guidevel")
guiBranch.AddText("jcarr")
- guiBranch.Custom = func () {
+ guiBranch.Custom = func() {
me.toMoveToBranch = guiBranch.String()
setCurrentBranch.Set("set all branches to " + me.toMoveToBranch)
me.mainBranch.Disable()
}
- setCurrentBranch = groupvbox.NewButton("set all branches to", func () {
+ setCurrentBranch = groupvbox.NewButton("set all branches to", func() {
for _, repo := range allrepos {
var changeBranch [][]string
// realname, realversion := repo.status.CheckoutBranch(me.toMoveToBranch)
@@ -67,7 +67,7 @@ func globalBuildOptions(box *gui.Node) {
}
})
var everything *gui.Node
- everything = groupvbox.NewButton("go get everything on go.wit.com", func () {
+ everything = groupvbox.NewButton("go get everything on go.wit.com", func() {
var perfect bool = true
var newCmds [][]string
// usr, _ := user.Current()
@@ -103,6 +103,6 @@ func globalBuildOptions(box *gui.Node) {
doit.Enable()
setGitCommands()
})
- groupvbox.NewButton("build all apps", func () {
+ groupvbox.NewButton("build all apps", func() {
})
}