Permalink
Browse files

Cleanup build code

  • Loading branch information...
1 parent 989c446 commit c5ae868565c1173aa789772ec9046c8d9b90a240 @meritt committed Jan 8, 2013
Showing with 3 additions and 8 deletions.
  1. +3 −8 Cakefile
View
@@ -1,13 +1,8 @@
{print} = require 'util'
{spawn} = require 'child_process'
-build = (callback) ->
+task 'build', 'Build lib/ from src/', ->
coffee = spawn 'coffee', ['-c', '-o', 'lib', 'src']
- coffee.stderr.on 'data', (data) ->
- process.stderr.write data.toString()
-
- coffee.stdout.on 'data', (data) ->
- print data.toString()
-
-task 'build', 'Build lib/ from src/', -> build()
+ coffee.stderr.on 'data', (data) -> process.stderr.write data.toString()
+ coffee.stdout.on 'data', (data) -> print data.toString()

0 comments on commit c5ae868

Please sign in to comment.