diff options
| author | Phil Crosby | 2012-09-01 15:08:34 -0700 |
|---|---|---|
| committer | Phil Crosby | 2012-09-01 23:32:00 -0700 |
| commit | 8bcc3c11b1989ee9ebd89b057a953e2dc8364e52 (patch) | |
| tree | c1ed5079af2bb3015b5bc57e2b3385640179cb92 /Cakefile | |
| parent | 7876a0618c93e950bea4faba4c26076cef394b96 (diff) | |
| download | vimium-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-- | Cakefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" |
