Makefile compiles webpack only if needed.
This commit is contained in:
parent
34e9509cea
commit
baaf7dd731
6
Makefile
6
Makefile
@ -1,5 +1,7 @@
|
|||||||
.PHONY: upload
|
.PHONY: upload
|
||||||
|
|
||||||
upload:
|
upload: assets/main.css
|
||||||
yarn exec webpack && \
|
|
||||||
rsync -r --exclude .git/ --exclude src/ --exclude node_modules/ . doktorkraus.de:/var/www/bovender
|
rsync -r --exclude .git/ --exclude src/ --exclude node_modules/ . doktorkraus.de:/var/www/bovender
|
||||||
|
|
||||||
|
assets/main.css: src/component.scss src/config.scss src/bovender.scss
|
||||||
|
yarn exec webpack
|
||||||
|
Loading…
Reference in New Issue
Block a user