summaryrefslogtreecommitdiff
path: root/nocui/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-08 20:17:49 -0600
committerJeff Carr <[email protected]>2024-01-08 20:17:49 -0600
commit2a9724d7a89733db8c41571a8b5d9d0e1f0d76b3 (patch)
tree471510c5d1bf2d12571c538b22686d2dcec5ff1f /nocui/Makefile
parent4a079f8346fb54a3f4b7e15c3d89701f643099ce (diff)
move to 'go.wit.com/log'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'nocui/Makefile')
-rw-r--r--nocui/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/nocui/Makefile b/nocui/Makefile
index acbf437..15c7487 100644
--- a/nocui/Makefile
+++ b/nocui/Makefile
@@ -3,3 +3,14 @@ all: plugin
plugin:
GO111MODULE="off" go build -v -x -buildmode=plugin -o ../nocui.so
+
+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