all: README.md | |
go build ./... | |
README.md: go-types.md ../internal/cmd/weave/*.go $(wildcard */*.go) | |
go run ../internal/cmd/weave go-types.md >README.md | |
# This is for previewing using github. | |
# $HOME/markdown must be a github client. | |
test: README.md | |
cp README.md $$HOME/markdown/ | |
(cd $$HOME/markdown/ && git commit -m . README.md && git push) | |