add 'make install' for testing

This commit is contained in:
Jeff Carr 2024-12-01 00:49:52 -06:00
parent 03cc26d91f
commit ac6a348f54
1 changed files with 4 additions and 2 deletions

View File

@ -1,10 +1,12 @@
VERSION = $(shell git describe --tags)
all: plugin
plugin:
GO111MODULE="off" go build -v -x -buildmode=plugin -o ../andlabs.so
pluginreal:
go build -v -x -buildmode=plugin -o ~/go/lib/andlabs.so
install:
go build -buildmode=plugin -o ~/go/lib/andlabs-${VERSION}.so
goget:
GO111MODULE="off" go get -v -t -u