parent
99de2790d5
commit
5fd46dd44d
9
Makefile
9
Makefile
|
@ -3,12 +3,17 @@ all: build
|
||||||
./basicwindow
|
./basicwindow
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
ifeq ($(GO111MODULE),)
|
||||||
|
echo no. you must use GO111MODULE here
|
||||||
|
false
|
||||||
|
else
|
||||||
-rm -f basicwindow
|
-rm -f basicwindow
|
||||||
go build -v -x
|
go build -v -x
|
||||||
|
endif
|
||||||
|
|
||||||
stderr: build
|
stderr: build
|
||||||
echo "writing to /tmp/helloworld.stderr"
|
echo "writing to /tmp/basicwindow.stderr"
|
||||||
./helloworld >/tmp/helloworld.stderr 2>&1
|
./basicwindow >/tmp/basicwindow.stderr 2>&1
|
||||||
|
|
||||||
push:
|
push:
|
||||||
git add --all
|
git add --all
|
||||||
|
|
Loading…
Reference in New Issue