mirror of
https://github.com/coredns/coredns.io.git
synced 2024-04-21 12:32:00 +00:00
* Sync to 1.6.3 from coredns add new plugins, also tweak front page a little. Signed-off-by: Miek Gieben <miek@miek.nl> * Prepare for 163 release Signed-off-by: Miek Gieben <miek@miek.nl>
26 lines
605 B
Makefile
26 lines
605 B
Makefile
C:=~/src/github.com/coredns/coredns
|
|
|
|
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. Also sync the release notes from the notes directory.
|
|
.PHONY: sync
|
|
sync:
|
|
( rm -f content/plugins/* )
|
|
( cd bin; ./sync-from-coredns.py $(C)/plugin )
|
|
cp $(C)/notes/coredns-* content/blog
|
|
|
|
# Scan all markdown files for Corefile snippets and check validity github.com/miekg/corecheck
|
|
.PHONY: scan
|
|
scan:
|
|
corecheck -exe $(C)/coredns -dir content/blog
|
|
corecheck -exe $(C)/coredns -dir content/manual
|