summaryrefslogtreecommitdiff
path: root/Makefile
blob: ecbf8d48fc059446fa7ad0bd174da633b48eea94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
all: build
	./helloworld

build:
	-rm -f helloworld
	go build -v -x

stderr: build
	echo "writing to /tmp/helloworld.stderr"
	./helloworld >/tmp/helloworld.stderr 2>&1

push:
	git add --all
	git commit -a
	git push

redomod:
	rm -f go.*
	GO111MODULE= go mod init
	GO111MODULE= go mod tidy