Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.516 kb
# This is a work in progress - isn't used yet.
{spawn, exec} = require 'child_process'
task 'compile', 'Convert to JavaScript in preparation for publishing to npm', (options) ->
runCommand = (name, args...) ->
proc = spawn name, args
proc.stderr.on 'data', (buffer) -> console.log buffer.toString()
proc.stdout.on 'data', (buffer) -> console.log buffer.toString()
proc.on 'exit', (status) -> process.exit(1) if status isnt 0
runCommand 'coffee', '-o', './lib', '-c', './src'
Jump to Line
Something went wrong with that request. Please try again.