summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-02 13:06:30 -0600
committerJeff Carr <[email protected]>2025-02-02 15:04:47 -0600
commit517d844b3c8257dd796244e6a151deceabedab42 (patch)
tree1ebd6b05f55b13a8b716860e4593087d8ed69228 /Makefile
parent4a8fb6ab224e4b4c126f72be77abb1affc85e362 (diff)
more work on the ever illusive floating stdout window
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 97cef99..59b21f6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,14 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d)
-all: gocui.so
- @#ldd gocui.so
+all: goimports vet gocui
+ @ldd gocui.so
-gocui.so: goimports
+vet:
+ @GO111MODULE=off go vet
+ @echo this go plugin builds okay
+
+gocui:
GO111MODULE=off go build -v -work -buildmode=plugin -o gocui.so \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"