add a 'forge mode' concept
This commit is contained in:
parent
948c47b7ff
commit
d953ae8db6
2
Makefile
2
Makefile
|
@ -7,7 +7,7 @@ BUILDTIME = $(shell date +%Y.%m.%d_%H%M)
|
||||||
# make andlabs # try the andlabs gui plugin (uses GTK)
|
# make andlabs # try the andlabs gui plugin (uses GTK)
|
||||||
|
|
||||||
default: install
|
default: install
|
||||||
forge --gui andlabs
|
forge
|
||||||
|
|
||||||
vet:
|
vet:
|
||||||
@GO111MODULE=off go vet
|
@GO111MODULE=off go vet
|
||||||
|
|
4
doGui.go
4
doGui.go
|
@ -122,6 +122,10 @@ func drawWindow(win *gadgets.BasicWindow) {
|
||||||
me.gitAuthor.SetText(author)
|
me.gitAuthor.SetText(author)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
me.forgeMode = gadgets.NewOneLiner(grid, "Forge mode")
|
||||||
|
me.forgeMode.SetText(me.forge.GetMode())
|
||||||
|
grid.NextRow()
|
||||||
|
|
||||||
// select the branch you want to test, build and develop against
|
// select the branch you want to test, build and develop against
|
||||||
// this lets you select your user branch, but, when you are happy
|
// this lets you select your user branch, but, when you are happy
|
||||||
// you can merge everything into the devel branch and make sure it actually
|
// you can merge everything into the devel branch and make sure it actually
|
||||||
|
|
|
@ -53,11 +53,9 @@ type mainType struct {
|
||||||
// if checked, it will check all your repos for changes
|
// if checked, it will check all your repos for changes
|
||||||
autoScanReposCB *gui.Node
|
autoScanReposCB *gui.Node
|
||||||
|
|
||||||
// what is being used as primary directory for your work
|
goSrcPwd *gadgets.OneLiner // what is being used as primary directory for your work
|
||||||
goSrcPwd *gadgets.OneLiner
|
gitAuthor *gadgets.OneLiner // ENV GIT_AUTHOR NAME and EMAIL
|
||||||
|
forgeMode *gadgets.OneLiner // is the user in 'master', 'devel' or 'user' branches
|
||||||
// ENV GIT_AUTHOR NAME and EMAIL
|
|
||||||
gitAuthor *gadgets.OneLiner
|
|
||||||
|
|
||||||
// displays a summary of all the repos
|
// displays a summary of all the repos
|
||||||
// has total dirty, total read-only
|
// has total dirty, total read-only
|
||||||
|
|
Loading…
Reference in New Issue