summaryrefslogtreecommitdiffstats
path: root/autotest-js.sh
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-09-09 17:12:20 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-09-09 17:12:20 +0200
commit8196536309421f2f6b8f816e1ae67b5a635c8da5 (patch)
treebf194f49799e51f6075995ad7df7401a3c69383e /autotest-js.sh
parentdc99fd768ac99c380f1110c7bd4dd84d03256cd8 (diff)
downloadnextcloud-server-8196536309421f2f6b8f816e1ae67b5a635c8da5.tar.gz
nextcloud-server-8196536309421f2f6b8f816e1ae67b5a635c8da5.zip
terminate script execution in case of failure
Diffstat (limited to 'autotest-js.sh')
-rwxr-xr-xautotest-js.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autotest-js.sh b/autotest-js.sh
index 8b9a106b021..a3a5f65fd2b 100755
--- a/autotest-js.sh
+++ b/autotest-js.sh
@@ -7,6 +7,9 @@
# @author Vincent Petry
# @copyright 2014 Vincent Petry <pvince81@owncloud.com>
#
+
+set -e
+
NPM="$(which npm 2>/dev/null)"
PREFIX="build"