From 8bcc3c11b1989ee9ebd89b057a953e2dc8364e52 Mon Sep 17 00:00:00 2001 From: Phil Crosby Date: Sat, 1 Sep 2012 15:08:34 -0700 Subject: Print stdout when running cake build Otherwise compile/syntax errors are hidden. They are not hidden when running cake autobuild --- Cakefile | 2 ++ 1 file changed, 2 insertions(+) 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" -- cgit v1.2.3