waiting animation for git-pull-and-if-origin-changed-run-tests

This commit is contained in:
Michael Hoennig 2024-09-13 15:55:42 +02:00
parent 32c88cef21
commit 28fb327f01

View File

@ -21,7 +21,16 @@ while true; do
./gradlew test ./gradlew test
fi fi
echo -e "waiting for changes..." # wait 10s with a little animation
sleep 10 echo -e -n " waiting for changes (/) ..."
echo -e "\r\033[K" sleep 2
echo -e -n "\r\033[K waiting for changes (-) ..."
sleep 2
echo -e -n "\r\033[K waiting for changes (\) ..."
sleep 2
echo -e -n "\r\033[K waiting for changes (|) ..."
sleep 2
echo -e -n "\r\033[K waiting for changes ( ) ... "
sleep 2
echo -e -n "\r\033[K"
done done