Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated zap dependency, deleted wrapper

zap 0.2.5 returns non-zero if tests fail, therefore the wrapper is not
required anymore to do a 'npm test' properly.
  • Loading branch information...
commit b9c2164154fbd13458aee77c7ae926b4aa33b9d9 1 parent f8ae75e
@Leonidas-from-XIV authored
Showing with 2 additions and 9 deletions.
  1. +0 −7 Cakefile
  2. +2 −2 package.json
View
7 Cakefile
@@ -4,13 +4,6 @@ task 'build', 'continually build the JavaScript code', ->
coffee = spawn 'coffee', ['-cw', '-o', 'lib', 'src']
coffee.stdout.on 'data', (data) -> console.log data.toString().trim()
-task 'test', 'run the test suite', ->
- # wrapper around zap to return nonzero if tests failed
- exec 'zap', (err, stdout, stderr) ->
- console.log stdout.trim()
- if stdout.indexOf("\u001b[1;31mfailed\u001b[0m") != -1
- process.exit 1
-
task 'doc', 'rebuild the Docco documentation', ->
exec([
'docco src/xml2js.coffee'
View
4 package.json
@@ -26,7 +26,7 @@
"lib": "./lib"
},
"scripts" : {
- "test": "cake test"
+ "test": "zap"
},
"repository" : {
"type" : "git",
@@ -37,7 +37,7 @@
},
"devDependencies" : {
"coffee-script" : ">=1.0.1",
- "zap" : ">=0.2.4-3",
+ "zap" : ">=0.2.5",
"docco" : ">=0.3.0"
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.