SheetJS
2a756fffcc
- codepage updated to 1.6.0 (latest) - clean up Makefile - adapted .travis.yml to support 0.8 - removed test files that drifted from baseline - removed XLSB pseudo-inverse tests due to fails in node 4+
15 lines
276 B
Bash
Executable File
15 lines
276 B
Bash
Executable File
#!/bin/bash
|
|
# spin.sh -- show a spinner (for coverage test)
|
|
# Copyright (C) 2014-present SheetJS
|
|
|
|
wpid=$1
|
|
delay=1
|
|
str="|/-\\"
|
|
while [ $(ps -a|awk '$1=='$wpid' {print $1}') ]; do
|
|
t=${str#?}
|
|
printf " [%c]" "$str"
|
|
str=$t${str%"$t"}
|
|
sleep $delay
|
|
printf "\b\b\b\b"
|
|
done
|