basicwindow/Makefile

24 lines
318 B
Makefile

all: build
reset
./basicwindow
build:
-rm -f basicwindow
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.*
goimports -w *.go
GO111MODULE= go mod init
GO111MODULE= go mod tidy