diff options
| author | Jeff Carr <[email protected]> | 2025-01-29 07:31:26 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-29 12:27:10 -0600 |
| commit | ce11f999f9282e9489e77eb1f9d6c08ae9c9b725 (patch) | |
| tree | 33ae6c702d91c5eddfe4ecd0be68bf907733a394 /Makefile | |
| parent | a16b53c2895669f7f21728334371ab79680699bf (diff) | |
start moving to protobuf. fix mouse clicks (kinda)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |
