go-deb/Makefile

37 lines
488 B
Makefile

.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