OnChanged(doc.go) func() {goreadme > README.md}

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2022-10-21 13:02:25 -05:00
parent 3283fee3f3
commit 08d8070b63
1 changed files with 3 additions and 3 deletions

View File

@ -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