summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 2 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index f46e907..b37bb3f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,26 +1,12 @@
all:
- @GO111MODULE=off go build
@echo
@echo This is the core gui package 'go.wit.com/gui/gui'
@echo
@echo It creates a binary tree of widgets
@echo The widgets are things like Windows, Buttons, Labels, etc
@echo
- @go vet
-
-note-about-golang:
-ifeq ($(GO111MODULE),)
- @echo
- @echo If you are compiling this here, you probably want to set GO111MODULE
- @echo
- @echo Setting GO111MODULE means that the version you are compiling has plugins
- @echo that get compiled against this current running version of the code
- @echo Otherwise, the GO language plugins can complain about being compiled against
- @echo mis-matched versions
- @echo
- @echo export GO111MODULE=off
- @echo
-endif
+ @GO111MODULE=off go vet
+ @echo go vet: this go library package builds okay
goimports:
goimports -w *.go
@@ -38,6 +24,3 @@ update:
doc:
godoc -v
-
-submit-to-docs:
- GOPROXY=https://proxy.golang.org GO111MODULE=on go get go.wit.com/[email protected]