change Makefile to test.sh

This commit is contained in:
coderaiser 2012-06-14 14:23:07 +00:00
parent 013edf7d48
commit 785c4caeea
3 changed files with 4 additions and 4 deletions

View file

@ -1,3 +0,0 @@
test:
npm install jshint
jshint *.js --config js/.jshintrc

View file

@ -1,7 +1,7 @@
{
"name": "cloudcmd",
"version": "0.0.1",
"scripts":{"test":"make test","start": "server.js"},
"scripts":{"test":"sh test.sh","start": "server.js"},
"engines": { "node": "0.6.x" },
"subdomain": "cloudcmd"
}

3
test.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
npm install jshint
jshint *.js --config js/.jshintrc