summaryrefslogtreecommitdiff
path: root/Makefile
blob: 19486e63394544fb07c7e4d8008962d198e6d65b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all:
	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