From 48e4bcddb3326292342dfd831f0c4edc40bdac81 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 22 Oct 2025 15:54:16 -0500 Subject: fixes in ENV --- Makefile | 21 ++++----------------- main.go | 1 + releaseBox.go | 3 +++ 3 files changed, 8 insertions(+), 17 deletions(-) diff --git a/Makefile b/Makefile index d35b72b..a546ca9 100644 --- a/Makefile +++ b/Makefile @@ -105,36 +105,23 @@ test-build-force: # time GUIRELEASE_REASON="safe-build" make test-build-quick test-build-quick: - wit build install --verbose -rm ~/go/bin/forged cd ~/go/src/go.wit.com/lib/xgb/ && rm -f go.* cd ~/go/src/go.wit.com/lib/xgb/ && git checkout go.mod cd ~/go/src/go.wit.com/lib/xgb/ && time guireleaser --gui andlabs quick - cd ~/go/src/go.wit.com/apps/guireleaser - wit build debian --verbose - do-aptly - -# time GUIRELEASE_REASON="safe-build" make test-build -test-build: - wit build install --verbose - -rm ~/go/bin/forged - cd ~/go/src/go.wit.com/lib/xgb/ && rm -f go.* - cd ~/go/src/go.wit.com/lib/xgb/ && git checkout go.mod - cd ~/go/src/go.wit.com/lib/xgb/ && time guireleaser --gui andlabs - cd ~/go/src/go.wit.com/apps/guireleaser - wit-test debian --verbose - do-aptly # time GUIRELEASE_REASON="safe-build" make test-build-new -test-build-new: +test-build: -rm ~/go/bin/forged + cd ~/go/src/go.wit.com/toolkits/andlabs/ && make cd ~/go/src/go.wit.com/lib/xgb/ && rm -f go.* cd ~/go/src/go.wit.com/lib/xgb/ && git checkout go.mod cd ~/go/src/go.wit.com/lib/xgb/ && time guireleaser --gui andlabs # time GUIRELEASE_REASON="safe-build" make test-build-new -test-build-new-skip-master-branch-check: +test-build-skip-master-branch-check: -rm ~/go/bin/forged + cd ~/go/src/go.wit.com/toolkits/andlabs/ && make cd ~/go/src/go.wit.com/lib/xgb/ && rm -f go.* cd ~/go/src/go.wit.com/lib/xgb/ && git checkout go.mod cd ~/go/src/go.wit.com/lib/xgb/ && time guireleaser --gui andlabs --force diff --git a/main.go b/main.go index 5a7c184..59fa1be 100644 --- a/main.go +++ b/main.go @@ -24,6 +24,7 @@ var resources embed.FS func main() { me = new(autoType) me.argv = argvpb.Autocomplete(&argv) // adds shell auto complete to go-args + ENV.PrintTable() me.forge, _ = forgepb.Init() me.found = new(gitpb.Repos) diff --git a/releaseBox.go b/releaseBox.go index 3237c13..f2dff9d 100644 --- a/releaseBox.go +++ b/releaseBox.go @@ -81,6 +81,9 @@ func createReleaseBox(box *gui.Node) { } finalGoDepsCheckOk(check) }) + me.release.grid.NewButton("ENV.PrintTable()", func() { + ENV.PrintTable() + }) me.release.grid.NextRow() me.release.repo = gadgets.NewOneLiner(me.release.grid, "repo") -- cgit v1.2.3