2024-01-01 16:11:54 -06:00
|
|
|
all: plugin
|
|
|
|
ldd ../nocui.so
|
|
|
|
|
|
|
|
plugin:
|
|
|
|
GO111MODULE="off" go build -v -x -buildmode=plugin -o ../nocui.so
|
2024-01-08 20:17:49 -06:00
|
|
|
|
|
|
|
cleanbuild:
|
|
|
|
go build -v -x -buildmode=plugin -o ../nocui.so
|
|
|
|
|
|
|
|
check-git-clean:
|
|
|
|
@git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1)
|
|
|
|
|
|
|
|
redomod:
|
|
|
|
rm -f go.*
|
|
|
|
GO111MODULE= go mod init
|
|
|
|
GO111MODULE= go mod tidy
|