2024-02-11 01:00:05 -06:00
|
|
|
.PHONY: debian
|
|
|
|
|
|
|
|
run: build
|
2024-02-11 21:49:39 -06:00
|
|
|
./go-deb --repo go.wit.com/apps/autotypist
|
2024-02-11 06:32:48 -06:00
|
|
|
|
2024-02-11 13:58:07 -06:00
|
|
|
no-gui: build
|
2024-02-11 21:49:39 -06:00
|
|
|
./go-deb --no-gui --repo go.wit.com/apps/autotypist
|
2024-02-11 13:58:07 -06:00
|
|
|
|
2024-02-11 01:00:05 -06:00
|
|
|
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
|