summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-12 16:03:23 -0600
committerJeff Carr <[email protected]>2025-02-12 16:03:23 -0600
commit9babe64e41d22761027bebef4feade948857d3a7 (patch)
tree169fa53b10681ecacd2c5405c12be22d1534c46f
parent17cff379fa6d1eec6bd2fae57c193017a674f163 (diff)
minor
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c53d6a7..c8c2187 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d)
-all: andlabs.so
+all: goimports vet andlabs.so
andlabs.so:
GO111MODULE=off go build -v -buildmode=plugin -o andlabs.so \
@@ -21,6 +21,11 @@ goget:
goimports:
goimports -w *.go
+vet:
+ @GO111MODULE=off go vet
+ @echo this go plugin builds okay
+
+
redomod:
rm -f go.*
goimports -w *.go