diff options
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 |
