Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 416 Bytes
{exec} = require 'child_process'
task 'build', 'Build lib from src', ->
exec './node_modules/.bin/coffee --compile userbadges.coffee', (err, stdout) ->
console.log stdout
throw err if err
task 'test', 'Run library tests', ->
exec './node_modules/.bin/mocha --compilers coffee:coffee-script -R spec --colors test.coffee', (err, stdout) ->
console.log stdout
throw err if err