From 3b6e84abdfdff7181c1eb9553a6c6589d6ba027a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 28 Jan 2025 11:35:47 -0600 Subject: [PATCH] minor --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 24264d9..80b8dbb 100644 --- a/Makefile +++ b/Makefile @@ -14,13 +14,25 @@ verbose: GO111MODULE=off go build -v -x \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" +build: goimports vet plugin + GO111MODULE=off go build \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + install: goimports vet plugin GO111MODULE=off go install \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" +install-raw: goimports vet plugin + 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/ + cp ../../toolkits/gocui/gocui.so resources/ + +andlabs: + forge --gui andlabs goimports: reset