2024-01-12 04:14:09 -06:00
|
|
|
all:
|
2024-02-10 07:34:58 -06:00
|
|
|
git pull
|
2024-01-12 04:14:09 -06:00
|
|
|
echo "build it!"
|
2024-01-12 14:52:12 -06:00
|
|
|
GO111MODULE=off go build -v -x
|
2024-02-07 22:14:38 -06:00
|
|
|
su -c ./go.wit.com
|
|
|
|
# su -c "setcap 'cap_net_bind_service=+ep' go.wit.com"
|
2024-01-12 04:14:09 -06:00
|
|
|
|
2024-01-31 08:45:58 -06:00
|
|
|
goimports:
|
|
|
|
goimports -w *.go
|
|
|
|
|
2024-01-12 04:14:09 -06:00
|
|
|
redomod:
|
|
|
|
rm -f go.*
|
|
|
|
GO111MODULE= go mod init
|
|
|
|
GO111MODULE= go mod tidy
|
|
|
|
|