mirror of
https://github.com/coredns/coredns.io.git
synced 2024-04-21 12:32:00 +00:00
* Update for 181 release Fix Makefile and remove -u flag from cp Signed-off-by: Miek Gieben <miek@miek.nl> * update version Signed-off-by: Miek Gieben <miek@miek.nl> * Relase 1.8.1 Signed-off-by: Miek Gieben <miek@miek.nl>
30 lines
569 B
Makefile
30 lines
569 B
Makefile
PLUGINDIR:=.coredns/plugin
|
|
|
|
all:
|
|
hugo -d public/
|
|
cp _redirects public/
|
|
|
|
# this is the old website
|
|
old:
|
|
hugo -d /var/www/coredns.io
|
|
|
|
|
|
.PHONY: deps
|
|
deps:
|
|
go get github.com/miekg/corecheck
|
|
|
|
.PHONY: run
|
|
run:
|
|
hugo server
|
|
|
|
# Sync CoreDNS' plugin README.md's to coredns.io. Also sync the release notes from the notes directory.
|
|
.PHONY: sync
|
|
sync:
|
|
go run bin/sync.go -plugindir $(PLUGINDIR)
|
|
@cp -v $(PLUGINDIR)/../notes/coredns-* content/blog
|
|
|
|
# Scan all markdown files for Corefile snippets and check validity github.com/miekg/corecheck
|
|
.PHONY: test
|
|
test:
|
|
hugo server
|