Skip to content
Newer
Older
100644 12 lines (10 sloc) 469 Bytes
471cfd1 @stephenb first commit
authored May 17, 2011
1 {exec} = require 'child_process'
2
3 task 'build', 'Build project from src/*.coffee to lib/*.js', ->
4 exec 'coffee --compile --output lib/ src/', (error, stdout, stderr) ->
5 if error
6 console.log "build failed: #{error}"
7 throw error
8 console.log "build complete. #{stdout} #{stderr}"
9
10 task 'test', 'Runs vowsjs test suite', ->
fc715ea @stephenb renaming to coffee-machine
authored May 19, 2011
11 exec './node_modules/vows/bin/vows test/test_coffee_machine.coffee --spec', (error, stdout, stderr) ->
471cfd1 @stephenb first commit
authored May 17, 2011
12 console.log stdout
Something went wrong with that request. Please try again.