summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-20 16:13:54 -0600
committerJeff Carr <[email protected]>2024-01-20 16:13:54 -0600
commit826ff283984e310a27401514b2db10b66e49e87c (patch)
tree810f8a25da5073dfb6b678eb5551cd766eaea938 /Makefile
parent0c3ed55c33f1ce18c8d1797ade708b143589a8dc (diff)
add debugging window
this app is used to debug the gui and toolkit packages Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3c55c85..da02a3e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,28 @@
all: build
reset
- ./basicwindow
+ ./gadgetwindow
build:
ifeq ($(GO111MODULE),)
echo no. you must use GO111MODULE here
false
else
- -rm -f basicwindow
+ -rm -f gadgetwindow
go build -v -x
endif
stderr: build
- echo "writing to /tmp/basicwindow.stderr"
- ./basicwindow >/tmp/basicwindow.stderr 2>&1
+ echo "writing to /tmp/gadgetwindow.stderr"
+ ./gadgetwindow >/tmp/gadgetwindow.stderr 2>&1
push:
git add --all
git commit -a
git push
+goimports:
+ goimports -w *.go
+
redomod:
rm -f go.*
goimports -w *.go