blob: 3c55c85e6c35045b1dcf6069641bedcdcf8d8be3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
all: build
reset
./basicwindow
build:
ifeq ($(GO111MODULE),)
echo no. you must use GO111MODULE here
false
else
-rm -f basicwindow
go build -v -x
endif
stderr: build
echo "writing to /tmp/basicwindow.stderr"
./basicwindow >/tmp/basicwindow.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
|