Permalink
Browse files

Commit codeEditor

  • Loading branch information...
1 parent 2581c20 commit f7f460df45f48ef1952fd8f5b758db8bc03573bb @rashadrussell rashadrussell committed Dec 8, 2012
Showing 1,572 changed files with 221,293 additions and 0 deletions.
View
@@ -0,0 +1,14 @@
+{exec} = require 'child_process'
+
+task 'build', 'Build the .js files', (options) ->
+ console.log('Compiling Coffee from src to lib')
+ exec "coffee --compile --bare --output lib/ src/", (err, stdout, stderr) ->
+ throw err if err
+ console.log stdout + stderr
+
+task 'watch', 'Watch src directory and build the .js files', (options) ->
+ console.log('Watching Coffee in src and compiling to lib')
+ cp = exec "coffee --watch --bare --output lib/ src/"
+ cp.stdout.on "data", (data) -> console.log(data)
+ cp.stderr.on "data", (data) -> console.log(data)
+
View
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.

0 comments on commit f7f460d

Please sign in to comment.