Don't fail if shellcheck is to be installed manually
This commit is contained in:
@@ -43,13 +43,13 @@ case $1 in
|
|||||||
echo "It seems that automatic installation is not supported on your platform."
|
echo "It seems that automatic installation is not supported on your platform."
|
||||||
echo "Please install shellcheck manually:"
|
echo "Please install shellcheck manually:"
|
||||||
echo " https://github.com/koalaman/shellcheck#installing"
|
echo " https://github.com/koalaman/shellcheck#installing"
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
run-shellcheck)
|
run-shellcheck)
|
||||||
echo "Running shellcheck"
|
echo "Running shellcheck"
|
||||||
"${SHELLCHECK_BIN}" "${ROOT_DIR}"/src/main/asciidoc/*.sh
|
"${SHELLCHECK_BIN}" "${ROOT_DIR}"/src/main/asciidoc/*.sh
|
||||||
echo "Shellcheck passed sucesfully!"
|
echo "Shellcheck passed sucessfully!"
|
||||||
;;
|
;;
|
||||||
download-bats)
|
download-bats)
|
||||||
if [[ -x "${ROOT_DIR}/../target/bats/bin/bats" ]]; then
|
if [[ -x "${ROOT_DIR}/../target/bats/bin/bats" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user