Files
Miek GiebenandGitHub 21b4666d74 v181 (#214)
* 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>
2021-01-20 13:16:36 +01:00

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