go-deb/Makefile

73 lines
1.9 KiB
Makefile
Raw Normal View History

2024-02-11 01:00:05 -06:00
.PHONY: debian
run: build
./go-deb --repo go.wit.com/apps/autotypist
no-gui: build
./go-deb --no-gui --repo go.wit.com/apps/autotypist
2024-02-11 01:00:05 -06:00
build:
2024-02-20 23:13:26 -06:00
-mkdir resources
2024-02-11 01:00:05 -06:00
-cp ~/go/src/go.wit.com/toolkits/*.so resources/
GO111MODULE="off" go build -v
2024-02-20 23:13:26 -06:00
install:
-mkdir resources
-cp ~/go/src/go.wit.com/toolkits/*.so resources/
GO111MODULE="off" go install -v
2024-02-11 01:00:05 -06:00
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
debian:
cd debian && make
2024-02-11 01:00:05 -06:00
mirrors:
-wit mirrors
2024-02-20 23:13:26 -06:00
build-all:
go-deb --no-gui --repo go.wit.com/apps/autotypist
go-deb --no-gui --repo go.wit.com/apps/control-panel-digitalocean
go-deb --no-gui --repo go.wit.com/apps/control-panel-vpn
go-deb --no-gui --repo go.wit.com/apps/go-gui-toolkits
go-deb --no-gui --repo go.wit.com/apps/guireleaser
go-deb --no-gui --repo go.wit.com/apps/control-panel-cloudflare
go-deb --no-gui --repo go.wit.com/apps/control-panel-dns
go-deb --no-gui --repo go.wit.com/apps/go-deb
go-deb --no-gui --repo go.wit.com/apps/go.wit.com
go-deb --no-gui --repo go.wit.com/apps/helloworld
build-releases:
go-deb --release --no-gui --repo go.wit.com/apps/autotypist
go-deb --release --no-gui --repo go.wit.com/apps/control-panel-digitalocean
go-deb --release --no-gui --repo go.wit.com/apps/control-panel-vpn
go-deb --release --no-gui --repo go.wit.com/apps/go-gui-toolkits
go-deb --release --no-gui --repo go.wit.com/apps/guireleaser
go-deb --release --no-gui --repo go.wit.com/apps/control-panel-cloudflare
go-deb --release --no-gui --repo go.wit.com/apps/control-panel-dns
go-deb --release --no-gui --repo go.wit.com/apps/go-deb
go-deb --release --no-gui --repo go.wit.com/apps/go.wit.com
go-deb --release --no-gui --repo go.wit.com/apps/helloworld