summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-11 01:00:05 -0600
committerJeff Carr <[email protected]>2024-02-11 01:00:05 -0600
commitb29d6caf34e72af362f791a5cba7dbd06e7fd1a2 (patch)
treeec37cefac915ac54a40fb2eac7ae2f55261477f3 /Makefile
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..60e8a95
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,36 @@
+.PHONY: debian
+
+run: build
+ ./go-deb --open-gui
+
+build:
+ -cp ~/go/src/go.wit.com/toolkits/*.so resources/
+ GO111MODULE="off" go build -v
+
+goimports:
+ goimports -w *.go
+
+redomod:
+ rm -f go.*
+ GO111MODULE= go mod init
+ GO111MODULE= go mod tidy
+
+reset:
+ # clear your terminal
+ reset
+
+gocui: build
+ reset
+ ./go-deb --gui gocui >/tmp/witgui.log.stderr 2>&1
+
+nocui: reset build
+ ./go-deb --gui nocui
+
+clean:
+ -rm go-deb
+ -rm -rf files/
+ -rm -f resources/*.so
+ -rm *.deb
+
+mirrors:
+ -wit mirrors