summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 12:21:47 -0600
committerJeff Carr <[email protected]>2024-02-05 12:21:47 -0600
commitec4fb6aecb83df430a378d604a52c562084b2265 (patch)
treef0deaf44578bf536a7be2724a4d9d4fc8a5f8ed8 /Makefile
parent2613151b8349a8ba5435e03d90e948443b9a7aa9 (diff)
start working on the docs
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 9 insertions, 15 deletions
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 [email protected]: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