summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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