Clean before build, delete files from target
This commit is contained in:
parent
dcb2b919b2
commit
b838206f1e
11
Makefile
11
Makefile
|
@ -3,9 +3,16 @@ DEST = /var/www/sites/fnordig.de/
|
||||||
|
|
||||||
build:
|
build:
|
||||||
cobalt build
|
cobalt build
|
||||||
|
.PHONY: build
|
||||||
|
|
||||||
serve:
|
serve:
|
||||||
cobalt watch
|
cobalt watch
|
||||||
|
.PHONY: serve
|
||||||
|
|
||||||
deploy: build
|
deploy: clean build
|
||||||
rsync -va $(SOURCE) $(DEST)
|
rsync -va --delete $(SOURCE) $(DEST)
|
||||||
|
.PHONY: deploy
|
||||||
|
|
||||||
|
clean:
|
||||||
|
cobalt clean
|
||||||
|
.PHONY: clean
|
||||||
|
|
Loading…
Reference in a new issue