зеркало из https://github.com/golang/example.git
14 строки
343 B
Makefile
14 строки
343 B
Makefile
|
|
all: README.md
|
|
go build ./...
|
|
|
|
README.md: guide.md ../internal/cmd/weave/*.go $(wildcard */*.go)
|
|
go run ../internal/cmd/weave guide.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)
|
|
|