Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (7 sloc) 464 Bytes
{spawn, exec} = require 'child_process'
task 'lib', 'Generate the library from the src', ->
coffee = spawn 'node_modules/.bin/coffee', ['-c', '-o', 'lib', 'src']
coffee.stdout.on 'data', (data) -> console.log data.toString().trim()
task 'watch', 'Generate the library from the src and watch for changes', ->
coffee = spawn 'node_modules/.bin/coffee', ['-c','-w', '-o', 'lib', 'src']
coffee.stdout.on 'data', (data) -> console.log data.toString().trim()