waiting animation for git-pull-and-if-origin-changed-run-tests
This commit is contained in:
parent
32c88cef21
commit
28fb327f01
@ -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