summaryrefslogtreecommitdiff
path: root/Makefile
blob: 3adf833f2a56dcae36a7ef27be5b0f5e04f4b2b2 (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: goimports vet
	@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

vet:
	@GO111MODULE=off go vet
	@echo go vet: this go library package builds okay

goimports:
	goimports -w *.go

redomod:
	rm -f go.*
	goimports -w *.go
	GO111MODULE= go mod init
	GO111MODULE= go mod tidy

# -v verbose -t for tests -u for update them all
update:
	git pull
	go get -v -t -u ./...

doc:
	godoc -v