diff options
| author | Jeff Carr <[email protected]> | 2024-12-06 01:51:45 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-06 01:51:45 -0600 |
| commit | b5fe1eb8ff1f82dcd387cf83a42e767887dd2518 (patch) | |
| tree | cac5f77e1048890d20f0ee9f8ceeff53a70fd323 | |
| parent | 85f3a082387fb17a935987a48c3096c365f94704 (diff) | |
| -rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -8,10 +8,10 @@ gocui.so: GO111MODULE=off go build -v -work -buildmode=plugin -o gocui.so \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" -install: - rm -f gocui.so +install: clean go build -buildmode=plugin -o ~/go/lib/gocui-${VERSION}.so \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + cd ~/go/lib && ln -f -s gocui-${VERSION}.so gocui.so # for testing custom golang custom: @@ -20,6 +20,7 @@ custom: clean: rm -f gocui 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 |
