Permalink
Browse files

Merge pull request #59 from andreypopp/mocha-local

Cakefile: use locally installed mocha for tests
  • Loading branch information...
2 parents 33b220b + 76b7298 commit b3c87657d73fd2f5da161af66202464638f5bb8b @samcday samcday committed Jul 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cakefile
View
@@ -18,7 +18,7 @@ task 'build', 'Compile CoffeeScript to JavaScript.', ->
module.exports.passthru 'coffee', '-o', 'lib/', '-c', 'src/'
task 'test', 'Run the unit tests.', ->
- module.exports.passthru 'mocha' # or your test runner
+ module.exports.passthru './node_modules/.bin/mocha' # or your test runner
# exec 'mv NPM-index.js index.js; npm publish; mv index.js NPM-index.js'
task 'publish', 'Publish the NPM module.', ->

0 comments on commit b3c8765

Please sign in to comment.