blob: bf089d3a376d31b4f41476e3e74cc2af0a64a27c (
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
|
all: goimports vet
@echo
@echo This defines the primitive widgets
@echo
@echo This is how the gui communicates with the toolkit plugin
@echo The widgets are things like Windows, Buttons, Labels, etc
@echo
# Test the README.md & doc.go file
# this runs pkgsite, the binary that does dev.go.dev
# go install golang.org/x/pkgsite/cmd/pkgsite@latest
pkgsite:
GO111MODULE= pkgsite
goimports:
goimports -w *.go
redomod:
rm -f go.*
GO111MODULE= go mod init
GO111MODULE= go mod tidy
vet:
@GO111MODULE=off go vet
@echo this go library builds okay
|