summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3c55c85..da02a3e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,28 @@
all: build
reset
- ./basicwindow
+ ./gadgetwindow
build:
ifeq ($(GO111MODULE),)
echo no. you must use GO111MODULE here
false
else
- -rm -f basicwindow
+ -rm -f gadgetwindow
go build -v -x
endif
stderr: build
- echo "writing to /tmp/basicwindow.stderr"
- ./basicwindow >/tmp/basicwindow.stderr 2>&1
+ echo "writing to /tmp/gadgetwindow.stderr"
+ ./gadgetwindow >/tmp/gadgetwindow.stderr 2>&1
push:
git add --all
git commit -a
git push
+goimports:
+ goimports -w *.go
+
redomod:
rm -f go.*
goimports -w *.go