basicwindow/Makefile

22 lines
290 B
Makefile

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