mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
Fixing scripts to run from both bin/ and /.
This commit is contained in:
parent
de967c1cd5
commit
debbced185
4 changed files with 21 additions and 5 deletions
|
@ -6,5 +6,9 @@ type -P nodeunit &>/dev/null || {
|
|||
echo "Run: npm install nodeunit" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
nodeunit ../tests
|
||||
|
||||
if [ -d "../bin" ]; then
|
||||
cd "../"
|
||||
fi
|
||||
|
||||
nodeunit tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue