summaryrefslogtreecommitdiff
path: root/gocui/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gocui/Makefile')
-rw-r--r--gocui/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/gocui/Makefile b/gocui/Makefile
index 4f2a6ee..4c24c14 100644
--- a/gocui/Makefile
+++ b/gocui/Makefile
@@ -13,3 +13,14 @@ objdump:
log:
reset
tail -f /tmp/witgui.* /tmp/guilogfile
+
+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