andlabs/Makefile

24 lines
383 B
Makefile
Raw Normal View History

2024-12-01 00:49:52 -06:00
VERSION = $(shell git describe --tags)
all: plugin
plugin:
2024-12-05 17:43:11 -06:00
GO111MODULE=off go build -v -x -buildmode=plugin -o andlabs.so
2024-12-01 00:49:52 -06:00
install:
2024-12-05 17:43:11 -06:00
rm -f andlabs.so
2024-12-01 00:49:52 -06:00
go build -buildmode=plugin -o ~/go/lib/andlabs-${VERSION}.so
goget:
GO111MODULE="off" go get -v -t -u
goimports:
goimports -w *.go
redomod:
rm -f go.*
goimports -w *.go
GO111MODULE= go mod init
GO111MODULE= go mod tidy