diff options
| author | Jeff Carr <[email protected]> | 2025-03-02 03:03:29 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-02 03:03:29 -0600 |
| commit | d953ae8db666cf4f88d330b17f85af77ba03f8b9 (patch) | |
| tree | a211b9ba66469176cd911f2096eb4c5f021f3865 | |
| parent | 948c47b7ff5939d53636e28270fab49087ce184d (diff) | |
add a 'forge mode' concept
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | doGui.go | 4 | ||||
| -rw-r--r-- | structs.go | 8 |
3 files changed, 8 insertions, 6 deletions
@@ -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 @@ -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 |
