andlabs/Makefile

21 lines
328 B
Makefile
Raw Permalink Normal View History

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