This commit is contained in:
Jeff Carr 2025-02-12 16:03:23 -06:00
parent 17cff379fa
commit 9babe64e41
1 changed files with 6 additions and 1 deletions

View File

@ -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