Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

Commit

Permalink
Added support for 'npm test'.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmcd committed Jan 6, 2012
1 parent d078e83 commit 812e382
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -9,4 +9,4 @@ build: src/contextify.cc
node-waf distclean && node-waf configure build node-waf distclean && node-waf configure build


test: test:
node_modules/.bin/nodeunit test/ npm test
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -12,6 +12,9 @@
"url": "https://github.com/brianmcd/contextify.git" "url": "https://github.com/brianmcd/contextify.git"
}, },
"main": "./lib/contextify", "main": "./lib/contextify",
"scripts": {
"test": "nodeunit test/"
},
"engines": { "engines": {
"node": ">=0.4.0" "node": ">=0.4.0"
}, },
Expand Down

0 comments on commit 812e382

Please sign in to comment.