Permalink
Browse files

0.7.1 added npm script to test

  • Loading branch information...
1 parent 8c33fad commit f5beba0c9cfb10cdf2b407a415450a6db441253b @dscape committed Aug 31, 2011
Showing with 7 additions and 5 deletions.
  1. +1 −0 .gitignore
  2. +2 −1 package.json
  3. +2 −2 tests/README.md
  4. +2 −2 tests/run
View
@@ -1,3 +1,4 @@
.DS_Store
node_modules/
*tmp.*
+*.log
View
@@ -1,11 +1,12 @@
{ "name": "nano"
, "description": "minimalistic couchdb driver for node.js"
, "homepage": "http://github.com/dscape/nano"
-, "version": "0.7.0"
+, "version": "0.7.1"
, "author": "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)"
, "keywords": ["couchdb", "data", "request", "json", "nosql", "micro", "nano"]
, "dependencies": {"request": "~2.1.1", "underscore": "~1.1.7"}
, "devDependencies": { "async": "~0.1.9", "vows": "~0.5.10" }
+, "scripts": { "test": "./tests/run" }
, "main": "./nano.js"
, "engines" : { "node": ">=0.3.6" }
}
View
@@ -6,8 +6,8 @@
# Setup
# Alter the config to match your preferences
- vi cfg/tests.js
+ vi ./tests/cfg/tests.js
# Run
- ./run
+ ./tests/run
View
@@ -1,9 +1,9 @@
#!/bin/bash
# sudo npm install -g vows
if which vows
-then vows */*.js
+then vows tests/*/*.js
else
- for s in $(ls -d */);
+ for s in $(ls -d tests/*/);
do
for f in $s*.js; do echo $f; node $f; done;
done;

0 comments on commit f5beba0

Please sign in to comment.