summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-19 06:14:20 -0600
committerJeff Carr <[email protected]>2024-01-19 06:14:20 -0600
commit5fd46dd44d4dffe9b02ad1bdf01d4cba79d98ced (patch)
tree93442dfc13d3ad3ea67e3be62f7203b6ff68447e
parent99de2790d59a136e7b5f158d65965375b6c5e8f7 (diff)
minor
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1cd872b..3c55c85 100644
--- a/Makefile
+++ b/Makefile
@@ -3,12 +3,17 @@ all: build
./basicwindow
build:
+ifeq ($(GO111MODULE),)
+ echo no. you must use GO111MODULE here
+ false
+else
-rm -f basicwindow
go build -v -x
+endif
stderr: build
- echo "writing to /tmp/helloworld.stderr"
- ./helloworld >/tmp/helloworld.stderr 2>&1
+ echo "writing to /tmp/basicwindow.stderr"
+ ./basicwindow >/tmp/basicwindow.stderr 2>&1
push:
git add --all