Shell Scripts
#!/bin/zsh
set -o errexit # set -e
set -o nounset
set -o pipefail
[ ! -d "./scripts" ] && echo "Please launch script from parent folder" >&2 && exit 1
# cd "$(dirname "$0")"
echo
echo build is successful
#!/bin/zsh
set -o errexit # set -e
set -o nounset
set -o pipefail
[ ! -d "./scripts" ] && echo "Please launch script from parent folder" >&2 && exit 1
# cd "$(dirname "$0")"
echo
echo build is successful