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)
|
||||
|
||||
default: install
|
||||
forge --gui andlabs
|
||||
forge
|
||||
|
||||
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.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
|
||||
// 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
|
||||
|
|
|
@ -53,11 +53,9 @@ type mainType struct {
|
|||
// if checked, it will check all your repos for changes
|
||||
autoScanReposCB *gui.Node
|
||||
|
||||
// what is being used as primary directory for your work
|
||||
goSrcPwd *gadgets.OneLiner
|
||||
|
||||
// ENV GIT_AUTHOR NAME and EMAIL
|
||||
gitAuthor *gadgets.OneLiner
|
||||
goSrcPwd *gadgets.OneLiner // what is being used as primary directory for your work
|
||||
gitAuthor *gadgets.OneLiner // ENV GIT_AUTHOR NAME and EMAIL
|
||||
forgeMode *gadgets.OneLiner // is the user in 'master', 'devel' or 'user' branches
|
||||
|
||||
// displays a summary of all the repos
|
||||
// has total dirty, total read-only
|
||||
|
|
Loading…
Reference in New Issue