1
Fork 0

Clean before build, delete files from target

This commit is contained in:
Jan-Erik Rediger 2018-01-15 20:37:09 +01:00
parent dcb2b919b2
commit b838206f1e

View file

@ -3,9 +3,16 @@ DEST = /var/www/sites/fnordig.de/
build:
cobalt build
.PHONY: build
serve:
cobalt watch
.PHONY: serve
deploy: build
rsync -va $(SOURCE) $(DEST)
deploy: clean build
rsync -va --delete $(SOURCE) $(DEST)
.PHONY: deploy
clean:
cobalt clean
.PHONY: clean