summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-18 00:11:03 -0600
committerJeff Carr <[email protected]>2024-01-18 00:11:03 -0600
commit66f87e34481df249b238d2b1490b6a0c1a3402e0 (patch)
tree22f4effacd5463609ac4bd82a3d31c2c0cd7527d /Makefile
just a "gui" from <STDIN>v0.0.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..15c7487
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+all: plugin
+ ldd ../nocui.so
+
+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