Files
coredns.io/Makefile
T
2017-10-20 08:48:28 +00:00

22 lines
444 B
Makefile

all:
hugo -d /opt/www/coredns.io
.PHONY: clean
clean:
rm -rf /opt/www/coredns.io/*
.PHONY: test
test:
hugo server
# Sync CoreDNS' plugin README.md's to coredns.io. Uses $GOPATH to find them.
.PHONY: sync
sync:
( cd bin; ./sync-from-coredns.py $$GOPATH/src/github.com/coredns/coredns/plugin )
# Scan all markdown files for Corefile snippets and check validity
# github.com/miekg/corecheck
.PHONY: scan
scan:
corecheck -dir content/blog