Justfile: chequear que está clean

This commit is contained in:
Cat /dev/Nulo 2023-04-30 16:23:09 -03:00
parent 8c59e0d9ea
commit 0fa9d468db

View file

@ -13,7 +13,10 @@ build: (run './tool build')
check: (run './tool check')
refresh_feeds: (run './tool refresh_feeds')
clean:
if [ ! -z "$(git status --porcelain)" ]; then echo "not clean!"; exit 1; fi
ready_to_upload: check refresh_feeds build
upload: ready_to_upload
upload: clean ready_to_upload
rsync --rsh='ssh -p443' --recursive --chmod=644 build/ root@nulo.ar:/var/www/nulo.ar/