waiting animation for git-pull-and-if-origin-changed-run-tests
This commit is contained in:
parent
5183dcd044
commit
ba226fd802
@ -21,7 +21,16 @@ while true; do
|
||||
./gradlew test
|
||||
fi
|
||||
|
||||
echo -e "waiting for changes..."
|
||||
sleep 10
|
||||
echo -e "\r\033[K"
|
||||
# wait 10s with a little animation
|
||||
echo -e -n " 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 waiting for changes ( ) ... "
|
||||
sleep 2
|
||||
echo -e -n "\r\033[K"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user