Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (13 sloc) 0.419 kb
{spawn, exec} = require 'child_process'
{puts} = console.log
task 'build', ->
exec 'coffee -o lib -c src/*.coffee', (err) ->
puts err if err
task 'test', ->
tests = spawn 'coffee', ['test/']
tests.stdout.on 'data', (data) ->
puts 'stdout: ' + data
tests.stderr.on 'data', (data) ->
puts 'stderr: ' + data
tests.on 'exit', (code) ->
puts 'tests exited with code ' + code
Jump to Line
Something went wrong with that request. Please try again.