summaryrefslogtreecommitdiff
path: root/Makefile
blob: 1728c7cabd051d82566208e4634b57a425771cae (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
29
30
31
all:
	@echo
	@echo This is the core GUI package 'go.wit.com/gui'
	@echo
	@echo "It creates a binary tree of widgets (Windows, Buttons, etc)"
	@echo "This is the interface to the GUI GO plugin (ncurses, GTK, etc)"
	@echo
	@echo "note: Feb 2025. this is experimental. being rewritten to use protobufs"
	@echo
	@make  goimports vet

vet:
	@GO111MODULE=off go vet
	@echo go vet: this go library should build 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