etherpad-lite/bin/runTests.sh

15 lines
256 B
Bash
Raw Normal View History

2011-03-26 14:10:41 +01:00
#!/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