From 3f54db0421ccb712cd8ce63ee94ad4898f0b8995 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 5 Feb 2024 12:26:05 -0600 Subject: refactor to new tree functions Signed-off-by: Jeff Carr --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3