aboutsummaryrefslogtreecommitdiffstats
path: root/Cakefile
diff options
context:
space:
mode:
authorPhil Crosby2012-09-01 15:08:34 -0700
committerPhil Crosby2012-09-01 23:32:00 -0700
commit8bcc3c11b1989ee9ebd89b057a953e2dc8364e52 (patch)
treec1ed5079af2bb3015b5bc57e2b3385640179cb92 /Cakefile
parent7876a0618c93e950bea4faba4c26076cef394b96 (diff)
downloadvimium-8bcc3c11b1989ee9ebd89b057a953e2dc8364e52.tar.bz2
Print stdout when running cake build
Otherwise compile/syntax errors are hidden. They are not hidden when running cake autobuild
Diffstat (limited to 'Cakefile')
-rw-r--r--Cakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cakefile b/Cakefile
index 6e7893cf..55653b7b 100644
--- a/Cakefile
+++ b/Cakefile
@@ -13,6 +13,7 @@ src_directories = ["tests", "background_scripts", "content_scripts", "lib", "opt
task "build", "compile all coffeescript files to javascript", ->
coffee = spawn "coffee", ["-c"].concat(src_directories)
coffee.stdout.on "data", (data) -> console.log data.toString().trim()
+ coffee.stderr.on "data", (data) -> console.log data.toString().trim()
task "clean", "removes any js files which were compiled from coffeescript", ->
src_directories.forEach (directory) ->
@@ -32,6 +33,7 @@ task "clean", "removes any js files which were compiled from coffeescript", ->
task "autobuild", "continually rebuild coffeescript files using coffee --watch", ->
coffee = spawn "coffee", ["-cw"].concat(src_directories)
coffee.stdout.on "data", (data) -> console.log data.toString().trim()
+ coffee.stderr.on "data", (data) -> console.log data.toString().trim()
task "package", "build .crx file", ->
invoke "build"