summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 12:26:05 -0600
committerJeff Carr <[email protected]>2024-02-05 12:26:05 -0600
commit3f54db0421ccb712cd8ce63ee94ad4898f0b8995 (patch)
treee218bcc7d40d537398019b322363491c617c7ea9 /Makefile
parent2b3296fd5663398d425b1ba7059aa112c28c0bc8 (diff)
refactor to new tree functionsv0.20.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0dd7233..356b929 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,15 @@ plugin:
check-git-clean:
@git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1)
+# 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:
+ pkgsite
+
+goimports:
+ goimports -w *.go
+
redomod:
rm -f go.*
GO111MODULE= go mod init