1
Fork 0
blog/Makefile

23 lines
317 B
Makefile

SOURCE = /home/jer/git/fnordig.de/_site/
DEST = /var/www/sites/fnordig.de/
build:
cobalt build --drafts
.PHONY: build
serve: build
cd _site && http
.PHONY: serve
deploy: clean build
rsync -va --delete $(SOURCE) $(DEST)
.PHONY: deploy
clean:
cobalt clean
.PHONY: clean
rerun:
fd | entr -s make
.PHONY: rerun