Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (24 sloc) 0.863 kb
exec = require 'executive'
task 'build', 'compile src/*.coffee to lib/*.js', ->
exec './node_modules/.bin/coffee -bc -m -o lib/ src/'
exec './node_modules/.bin/coffee -bc -m -o .test/ test/'
task 'watch', 'watch for changes and recompile project', ->
exec './node_modules/.bin/coffee -bc -m -w -o lib/ src/'
exec './node_modules/.bin/coffee -bc -m -w -o .test/ test/'
task 'gh-pages', 'Publish docs to gh-pages', ->
brief = require 'brief'
task 'test', 'Run tests', ->
exec "NODE_ENV=test node_modules/.bin/mocha
--reporter spec
--timeout 5000
--compilers coffee:coffee-script/register
--require postmortem/register
task 'publish', 'publish current version to NPM', ->
exec [
'./node_modules/.bin/coffee -bc -o lib/ src/'
'git push'
'npm publish'
Jump to Line
Something went wrong with that request. Please try again.