From 925fd3390640484e1930bf319d98c31f709adbb1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 23 Feb 2024 22:07:13 -0600 Subject: [PATCH] add terminal color test --- Makefile | 3 +++ main.go | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 131ae3b..4100197 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,9 @@ mirrors: build-go-gui-toolkits: build ./go-deb --release --no-gui --repo go.wit.com/apps/go-gui-toolkits +build-test-failure: build + ./go-deb --release --no-gui --repo go.wit.com/apps/junk + build-all: go-deb --no-gui --repo go.wit.com/apps/autotypist go-deb --no-gui --repo go.wit.com/apps/control-panel-digitalocean diff --git a/main.go b/main.go index c5ab1b1..113ddb2 100644 --- a/main.go +++ b/main.go @@ -6,6 +6,7 @@ import ( "path/filepath" "go.wit.com/gui" + "go.wit.com/lib/gui/shell" "go.wit.com/lib/debugger" "go.wit.com/lib/gadgets" "go.wit.com/log" @@ -47,6 +48,7 @@ func main() { // verify the values for the package if args.NoGui { + shell.TestTerminalColor() if cBox.buildPackage() { log.Info("build worked") } else {