From 38b1c880b2503b42109db5421d387bf0043bccd3 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 21 Oct 2022 13:02:25 -0500 Subject: OnChanged(doc.go) func() {goreadme > README.md} Signed-off-by: Jeff Carr --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 75756df..2382cbd 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,9 @@ -all: +all: README.md @echo @echo "make examples # will run all the examples" @echo "make update # full git update" @echo + make -C cmds/helloworld # should update every go dependancy (?) update: @@ -25,6 +26,5 @@ doc: # GO111MODULE=on go install github.com/posener/goreadme/cmd/goreadme@latest (worked Oct 20 2022) -readme: - # goreadme > README.md +README.md: doc.go goreadme -factories -types -functions -variabless > README.md -- cgit v1.2.3