We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b317a commit 0de3404Copy full SHA for 0de3404
Cakefile
@@ -31,6 +31,7 @@ visitDirectory = (directory, visitor) ->
31
32
task "build", "compile all coffeescript files to javascript", ->
33
coffee = spawn "coffee", ["-c", __dirname]
34
+ coffee.on 'exit', (returnCode) -> process.exit returnCode
35
36
task "clean", "removes any js files which were compiled from coffeescript", ->
37
visitDirectory __dirname, (filepath) ->
git_hooks/pre-commit
@@ -14,8 +14,7 @@ git checkout-index --prefix=$TDIR/ -af
14
cp -r ./tests/shoulda.js/ $TDIR/tests/shoulda.js/
15
16
pushd $TDIR > /dev/null
17
- cake build
18
- cake test
+ cake build && cake test
19
TEST_RESULT=$?
20
popd > /dev/null
21
0 commit comments