diff options
| author | Jeff Carr <[email protected]> | 2024-11-14 21:48:44 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-14 21:48:44 -0600 |
| commit | bb3802857b92e760bdc83ca2de63fa727dc7b0db (patch) | |
| tree | 6051a83739847bc2801a90291d3466266b8aa400 /Makefile | |
| parent | c02399708ec1668cd7b3957dbd11fdef8fb82044 (diff) | |
try adding //go:plugin to golangv0.22.3
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1,11 +1,19 @@ +VERSION = $(shell git describe --tags) + all: plugin ldd ../gocui.so plugin: - GO111MODULE=off go build -v -buildmode=plugin -o ../gocui.so + GO111MODULE=off go build -v -work -buildmode=plugin -o ../gocui.so + +# for testing custom golang +custom: + # GO111MODULE=off go build -v + GO111MODULE=off go build -v -work -buildmode=blah -pluginreal: - go build -v -buildmode=plugin -o ~/go/lib/toolkits/gocui.so +official: + mkdir -p ~/go/lib/go.wit.com/toolkits/gocui/ + go build -v -x -buildmode=plugin -o ~/go/lib/go.wit.com/toolkits/gocui/gocui-${VERSION}.so # Test the README.md & doc.go file # this runs pkgsite, the binary that does dev.go.dev |
