aboutsummaryrefslogtreecommitdiffstats
path: root/Cakefile
diff options
context:
space:
mode:
authorJez Ng2012-11-03 14:36:20 -0400
committerJez Ng2012-11-03 14:36:20 -0400
commit0de3404a19779f33d19790488403dbf1335389c6 (patch)
treee461dc610c85d29f4e0b24f96e52316e3c884860 /Cakefile
parentc0b317a62ae4552d6be32ab066f2514d1fd683eb (diff)
downloadvimium-0de3404a19779f33d19790488403dbf1335389c6.tar.bz2
Skip trying to run tests if build fails.
Diffstat (limited to 'Cakefile')
-rw-r--r--Cakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cakefile b/Cakefile
index 012bd459..bc92d8d5 100644
--- a/Cakefile
+++ b/Cakefile
@@ -31,6 +31,7 @@ visitDirectory = (directory, visitor) ->
task "build", "compile all coffeescript files to javascript", ->
coffee = spawn "coffee", ["-c", __dirname]
+ coffee.on 'exit', (returnCode) -> process.exit returnCode
task "clean", "removes any js files which were compiled from coffeescript", ->
visitDirectory __dirname, (filepath) ->