mirror of
https://github.com/coredns/coredns.io.git
synced 2024-04-21 12:32:00 +00:00
22 lines
444 B
Makefile
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
|