2024-02-11 01:00:05 -06:00
|
|
|
.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
|
|
|
|
|
2024-02-11 02:27:21 -06:00
|
|
|
debian:
|
|
|
|
cd debian && make
|
|
|
|
|
2024-02-11 01:00:05 -06:00
|
|
|
mirrors:
|
|
|
|
-wit mirrors
|