summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 00:49:52 -0600
committerJeff Carr <[email protected]>2024-12-01 00:49:52 -0600
commitac6a348f5471272f99977e6a00561b0771e9b61a (patch)
treee41ba36c2b56afa830068c128e8e989752326bf6
parent03cc26d91f23d8572a46a7e8b8de17cf7aa52554 (diff)
add 'make install' for testingv0.22.3v0.22.2
-rw-r--r--Makefile6
1 files 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