From ce11f999f9282e9489e77eb1f9d6c08ae9c9b725 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 29 Jan 2025 07:31:26 -0600 Subject: start moving to protobuf. fix mouse clicks (kinda) --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1875872..1c4c38f 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ BUILDTIME = $(shell date +%Y.%m.%d) all: clean gocui.so @#ldd gocui.so -gocui.so: +gocui.so: view.pb.go goimports GO111MODULE=off go build -v -work -buildmode=plugin -o gocui.so \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" @@ -20,6 +20,8 @@ custom: clean: rm -f gocui gocui.so + rm -f *.pb.go + go-mod-clean --purge # Test the README.md & doc.go file # this runs pkgsite, the binary that does dev.go.dev @@ -41,3 +43,6 @@ redomod: rm -f go.* GO111MODULE= go mod init GO111MODULE= go mod tidy + +view.pb.go: view.proto + autogenpb --proto view.proto -- cgit v1.2.3