2024-01-18 00:08:37 -06:00
|
|
|
all: plugin
|
|
|
|
ldd ../gocui.so
|
|
|
|
|
|
|
|
plugin:
|
|
|
|
GO111MODULE=off go build -v -buildmode=plugin -o ../gocui.so
|
|
|
|
|
2024-02-01 16:28:05 -06:00
|
|
|
pluginreal:
|
2024-02-05 04:19:32 -06:00
|
|
|
go build -v -buildmode=plugin -o ~/go/lib/toolkits/gocui.so
|
|
|
|
|
|
|
|
# Test the README.md & doc.go file
|
|
|
|
# this runs pkgsite, the binary that does dev.go.dev
|
|
|
|
# go install golang.org/x/pkgsite/cmd/pkgsite@latest
|
|
|
|
pkgsite:
|
|
|
|
pkgsite
|
2024-02-01 16:28:05 -06:00
|
|
|
|
2024-01-18 00:08:37 -06:00
|
|
|
objdump:
|
|
|
|
objdump -t ../gocui.so |less
|
|
|
|
|
|
|
|
log:
|
|
|
|
reset
|
|
|
|
tail -f /tmp/witgui.* /tmp/guilogfile
|
|
|
|
|
2024-01-28 02:20:31 -06:00
|
|
|
goimports:
|
|
|
|
goimports -w *.go
|
2024-01-18 00:08:37 -06:00
|
|
|
|
|
|
|
redomod:
|
|
|
|
rm -f go.*
|
|
|
|
GO111MODULE= go mod init
|
|
|
|
GO111MODULE= go mod tidy
|