Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (20 sloc) 0.619 kB
#!/usr/bin/env coffee
fs = require 'fs'
util = require 'util'
{exec} = require 'child_process'
task 'test', 'run tests', () ->
{reporters} = require 'nodeunit'
reporters.default.run ['lib/test.js']
task 'docs', 'generate docs', () ->
exec 'docco src/*coffee', (err, stdout, stderr) ->
if err
util.print stdout
util.error stderr
throw new Error "Error while compiling .coffee to .js"
task 'build', 'src/ --> lib/', () ->
# .coffee --> .js
exec 'coffee -co lib src', (err, stdout, stderr) ->
if err
util.print stdout
util.error stderr
throw new Error "Error while compiling .coffee to .js"
Jump to Line
Something went wrong with that request. Please try again.