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 00e1264 commit befc68cCopy full SHA for befc68c
build/demi.sh
@@ -30,17 +30,25 @@ run_sequentially() {
30
echo -e "\e[1;34m>> Running 'npm $COMMAND' for Vue 3 based frontend\e[0m"
31
echo
32
pushd "$FRONTEND"
33
+ set +e
34
npm $COMMAND
35
+ STATUS=$?
36
+ set -e
37
popd
38
39
echo -e "\e[1;34m>> Running 'npm $COMMAND' for Vue 2 based frontend\e[0m"
40
41
pushd "$FRONTEND_LEGACY"
42
43
-}
44
45
+ if [ $STATUS -ne 0 ]; then
46
+ echo -e "\e[1;31m>> Vue 3 based frontend build failed\e[0m"
47
+ exit $STATUS
48
+ fi
49
+}
50
51
+set -e
52
if [ "--parallel" = "$1" ]; then
53
build_command ${@:2}
54
run_parallel
0 commit comments