Permalink
Browse files

Build command so NoFlo can be run as JS

  • Loading branch information...
1 parent 1932e50 commit 1cf1eadd33584aed03aca20ce5f2e9ecbe150165 @bergie bergie committed Aug 24, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 Cakefile
View
@@ -0,0 +1,12 @@
+exec = require('child_process').exec
+task 'build', ->
+ exec 'coffee -o lib -c lib/*.coffee', (err) ->
+ console.log err if err
+ exec 'coffee -o components -c components/*.coffee', (err) ->
+ console.log err if err
+ exec 'coffee -o components/HTTP -c components/HTTP/*.coffee', (err) ->
+ console.log err if err
+
+task 'test', ->
+ exec 'nodeunit test', (err) ->
+ console.log err if err

0 comments on commit 1cf1ead

Please sign in to comment.