blob: 33c308dd56a60fb84f752b8a6640a5342afc3b77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
all:
@echo "make run # will build and run the daemon here"
@echo "make debian # will build a debian package"
log:
@#systemctl status gowebd.service
@journalctl -f -xeu gowebd.service
start:
su -c "systemctl start gowebd.service"
run:
git pull
echo "build it!"
GO111MODULE=off go build -v -x
./go.wit.com
# su -c "setcap 'cap_net_bind_service=+ep' go.wit.com"
goimports:
goimports -w *.go
redomod:
rm -f go.*
GO111MODULE= go mod init
GO111MODULE= go mod tidy
# makes a .deb package
debian:
go-deb --no-gui --repo go.wit.com/apps/go.wit.com
|