Exit verify-ios-env immediately on error
If one of the called scripts fails, e.g. because some tooling is missing, it would still print the "Looks good" message, which is confusing. Now it just error-exits if one of the called scripts error-exits (which btw prints an error message and if that's the last thing printed its more noticable)
This commit is contained in:
Родитель
07a7f542c3
Коммит
11089dbf45
|
@ -4,6 +4,8 @@
|
|||
#
|
||||
# This file should be used via `./libs/verify-ios-environment.sh`.
|
||||
|
||||
set -e
|
||||
|
||||
if [[ ! -f "$(pwd)/libs/build-all.sh" ]]; then
|
||||
echo "ERROR: verify-ios-environment.sh should be run from the root directory of the repo"
|
||||
exit 1
|
||||
|
|
Загрузка…
Ссылка в новой задаче