From ac6a348f5471272f99977e6a00561b0771e9b61a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 1 Dec 2024 00:49:52 -0600 Subject: [PATCH] add 'make install' for testing --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f09e2fc..02c1f06 100644 --- a/Makefile +++ b/Makefile @@ -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