summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-18 00:08:37 -0600
committerJeff Carr <[email protected]>2024-01-18 00:08:37 -0600
commit3ac6b2486a7f17e96ea8d812437ed9bad8662260 (patch)
treeaaf29d4a1f6fc591a3738077e6cebf26fe637849 /Makefile
init move into seperate repo. all history lost :(v0.0.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..fffcfa7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,26 @@
+all: plugin
+ ldd ../gocui.so
+
+plugin:
+ GO111MODULE=off go build -v -buildmode=plugin -o ../gocui.so
+
+goget:
+ go get -v -t -u
+
+objdump:
+ objdump -t ../gocui.so |less
+
+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