From ec4fb6aecb83df430a378d604a52c562084b2265 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 5 Feb 2024 12:21:47 -0600 Subject: start working on the docs Signed-off-by: Jeff Carr --- Makefile | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 102bea6..3402f85 100644 --- a/Makefile +++ b/Makefile @@ -6,22 +6,16 @@ all: @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 - -# sync repo to the github backup -# git remote add github git@github.com:wit-go/widget.git - -github: - git push origin master - git push origin devel - git push origin --tags - git push github master - git push github devel - git push github --tags - @echo - @echo check https://git.wit.org/gui/widget - @echo check https://github.com/wit-go/widget - @echo -- cgit v1.2.3