feat(jasmine-node): use the jasmine-node NPM to run our non-browser specs

This commit is contained in:
Misko Hevery 2011-08-31 11:49:17 -07:00 committed by Igor Minar
parent 3c80cf3df6
commit e5da0c956b
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
if [ ! -e gen_docs.disable ]; then
/usr/bin/env node docs/spec/specs.js --noColor | grep -v '/lib/jasmine' && node docs/src/gen-docs.js
/usr/bin/env jasmine-node docs/spec -i docs/src -i lib --noColor && node docs/src/gen-docs.js
fi

View file

@ -4,4 +4,4 @@ BASE_DIR=`dirname $0`
cd $BASE_DIR
/usr/bin/env jasmine-node spec/ --noColor | grep -v '/lib/jasmine' && node src/closureSlurper.js
/usr/bin/env jasmine-node spec/ --noColor && node src/closureSlurper.js