1
Fork 0
blog/Makefile
2018-02-11 12:25:33 +01:00

23 lines
348 B
Makefile

SOURCE = /home/jer/git/fnordig.de/_site/
DEST = /var/www/sites/fnordig.de/
build:
cobalt build --drafts
.PHONY: build
serve:
cobalt watch
.PHONY: serve
deploy: clean build
rsync -va --delete $(SOURCE) $(DEST)
.PHONY: deploy
clean:
cobalt clean
.PHONY: clean
rerun:
rerun -p "**/*.{md,liquid,css,js}" -i "_site/*" -x -- make
.PHONY: rerun