Browse files

better path to mocha binary

  • Loading branch information...
1 parent 1d87928 commit 1480d0bd8af874db257667e9fd7a8015e9b7bb0a @irickt irickt committed Feb 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cakefile
@@ -17,7 +17,7 @@ task 'delint', 'Runs all modified or added files through jshint', (options) ->
exec 'jshint `git status --porcelain | sed -e "s/^...//g"`', execOutput
task 'test', 'Runs all unit tests', (options) ->
- exec 'node_modules/mocha/bin/mocha -r should -R List ', execOutput
+ exec './node_modules/.bin/mocha -r should -R List ', execOutput
task 'npm-publish', 'Creates a tag based on version number in package.json then pushes and publishes to NPM', (options) ->
version = JSON.parse(fs.readFileSync('./package.json')).version

0 comments on commit 1480d0b

Please sign in to comment.