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

21 lines (16 sloc) 0.586 kB
{exec} = require 'child_process'
task 'build', 'compile src/*.coffee to lib/*.js', ->
console.log 'Compiling src/*.coffee to lib/*.js'
exec './node_modules/.bin/coffee -bc -o lib/ src/'
task 'gh-pages', 'Publish docs to gh-pages', ->
brief = require('brief')
quiet: false
brief.updateGithubPages()
task 'test', 'Run tests', ->
exec './node_modules/.bin/mocha ./test --compilers coffee:coffee-script -R spec -t 5000 -c'
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.