blob: 4bed56d0835245f575f231d435aa063f7db2f4d6 [file] [log] [blame]
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)