gowebd/Makefile

16 lines
247 B
Makefile

all:
git pull
echo "build it!"
GO111MODULE=off go build -v -x
su -c ./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