Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: npm
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.449 kb
require.paths.unshift __dirname + '/lib'
fs = require 'fs'
task 'build', 'Build lib/ from src/', ->
CoffeeScript = require 'coffee-script'
source = fs.readFileSync __dirname + '/src/'
output = CoffeeScript.compile source.toString()
fs.writeFileSync __dirname + '/lib/stitch.js', output
task 'test', 'Run tests', ->
invoke 'build'
process.chdir __dirname
{reporters} = require 'nodeunit' ['test']
Jump to Line
Something went wrong with that request. Please try again.