summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2022-10-21 13:02:25 -0500
committerJeff Carr <[email protected]>2022-10-21 13:02:25 -0500
commit38b1c880b2503b42109db5421d387bf0043bccd3 (patch)
tree49b1472610f0144754d0851d8218951aa7e0e3f8
parentf057fe2c76a882bc560cadb4c6977927d4b4ce17 (diff)
OnChanged(doc.go) func() {goreadme > README.md}
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--Makefile6
1 files 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