Skip to content

Instantly share code, notes, and snippets.

@moutend
Created March 15, 2014 05:50
Show Gist options
  • Save moutend/9562365 to your computer and use it in GitHub Desktop.
Save moutend/9562365 to your computer and use it in GitHub Desktop.
process.env.NODE_PATH = '/usr/local/lib/node_modules'
cp = require 'child_process'
task 'test', 'run tests', ->
cp.spawn 'mocha',
[
'--require', 'coffee-script/register',
'--compilers', 'coffee:coffee-script',
'test/'
],
stdio: 'inherit'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment