26 lines
555 B
Makefile
26 lines
555 B
Makefile
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
|