From 0fa9d468db198e04b642576fafb21bf6242a33b1 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 30 Apr 2023 16:23:09 -0300 Subject: [PATCH] =?UTF-8?q?Justfile:=20chequear=20que=20est=C3=A1=20clean?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Justfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index 2c14c25..c797474 100644 --- a/Justfile +++ b/Justfile @@ -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/