From 9f35ee8d3c8d1b37244927585f363ee84167a441 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 12 Feb 2024 10:04:36 -0600 Subject: add debugger Signed-off-by: Jeff Carr --- Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3c55c85..6dce3b4 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ all: build build: ifeq ($(GO111MODULE),) - echo no. you must use GO111MODULE here + echo no. you must use GO111MODULE to build here false else -rm -f basicwindow @@ -12,13 +12,14 @@ else endif stderr: build - echo "writing to /tmp/basicwindow.stderr" - ./basicwindow >/tmp/basicwindow.stderr 2>&1 + echo "writing to /tmp/basicwindow.out" + ./basicwindow >/tmp/basicwindow.out 2>&1 -push: - git add --all - git commit -a - git push +gocui: + ./basicwindow --gui gocui >/tmp/basicwindow.out 2>&1 + +goimports: + goimports -w *.go redomod: rm -f go.* -- cgit v1.2.3