Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use npm 1.0.x, yui3-bare ~0.6.2.

  • Loading branch information...
commit 10a895f88999036450791bbd485be65c915ea6de 1 parent 511d609
@reid reid authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 script/test.sh
View
9 script/test.sh
@@ -1,13 +1,12 @@
#!/bin/sh
testdir="test"
-vows=`which vows 2>&1`
-ret=$?
-if [ $ret -ne 0 ] || ! [ -x $vows ]; then
+vows="./node_modules/vows/bin/vows"
+[ ! -d $testdir ] && cd ..
+if ! [ -x $vows ]; then
echo "Unable to run Vows." >&2
echo "Try \`make install-dev\` to install Vows." >&2
exit $ret
fi
-[ ! -d $testdir ] && cd ..
[ ! -e $testdir ] && \
echo "Unable to find directory '$testdir'." >&2 && exit 1
-vows $@ $testdir/*.js
+$vows $@ $testdir/*.js
Please sign in to comment.
Something went wrong with that request. Please try again.