Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 538 Bytes
{spawn, exec} = require 'child_process'
task 'build', 'continually build the JavaScript code', ->
coffee = spawn 'coffee', ['-cw', '-o', 'lib', 'src']
coffee.stdout.on 'data', (data) -> console.log data.toString().trim()
coffeeExamples = spawn 'coffee', ['-cw', '-o', 'examples', 'examples']
coffeeExamples.stdout.on 'data', (data) -> console.log data.toString().trim()
task 'doc', 'rebuild the Docco documentation', ->
'docco src/*.coffee'
].join(' && '), (err) ->
throw err if err
Jump to Line
Something went wrong with that request. Please try again.