Files
coredns.io/Makefile
T
Miek Gieben 5ce3868640 more unbound
extend make scan to scan manual as well for wrong corefiles
2018-02-24 08:15:24 +00:00

23 lines
581 B
Makefile

all:
hugo -d /var/www/coredns.io
.PHONY: clean
clean:
rm -rf /var/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 -exe $$GOPATH/src/github.com/coredns/coredns/coredns -dir content/blog
corecheck -exe $$GOPATH/src/github.com/coredns/coredns/coredns -dir content/manual