etherpad-lite/bin/runTests.sh
2011-04-07 19:54:41 +02:00

14 lines
256 B
Bash
Executable file

#!/bin/bash
type -P nodeunit &>/dev/null || {
echo "You need to install Nodeunit to run the tests!" >&2
echo "You can install it with npm" >&2
echo "Run: npm install nodeunit" >&2
exit 1
}
if [ -d "../bin" ]; then
cd "../"
fi
nodeunit tests