36 lines
887 B
Makefile
36 lines
887 B
Makefile
all:
|
|
@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
|
|
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
|
|
|
|
redomod:
|
|
rm -f go.*
|
|
GO111MODULE= go mod init
|
|
GO111MODULE= go mod tidy
|
|
|
|
# should update every go dependancy (?)
|
|
update:
|
|
git pull
|
|
go get -v -t -u ./...
|
|
|
|
doc:
|
|
godoc -v
|
|
|
|
submit-to-docs:
|
|
GOPROXY=https://proxy.golang.org GO111MODULE=on go get go.wit.com/gui@v1.0.0
|