Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 383 Bytes
{spawn, exec} = require 'child_process'
task 'build', 'continually build the JavaScript code', ->
coffee = spawn 'coffee', ['-cwb', '-o', 'lib', 'src']
coffee.stdout.on 'data', (data) -> console.log data.toString().trim()
task 'doc', 'rebuild the Docco documentation', ->
exec([
'docco src/jquery.floatinghands.coffee'
].join(' && '), (err) ->
throw err if err
)