summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-20 05:08:52 -0600
committerJeff Carr <[email protected]>2025-01-20 05:08:52 -0600
commit4721184398013ac30160bc5bbde5244256f15d88 (patch)
tree618520cfed22daf36276205835bdc94e92f7ab94 /Makefile
parentef1a3063527e17507af88c644ca1ef7851ab53b0 (diff)
attempt to embedded gocui plugin toolkitv0.22.58
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2fcfecb..e97f825 100644
--- a/Makefile
+++ b/Makefile
@@ -14,10 +14,14 @@ verbose:
GO111MODULE=off go build -v -x \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
-install: goimports vet
+install: goimports vet plugin
GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
+plugin:
+ rm -f resources/*.so
+ cp ~/go/lib/gocui.so resources/
+
goimports:
reset
goimports -w *.go