Commit 4f715e08 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(tools/check_qml_syntax): do not check qml syntax if executable cannot be found the qt lib

parent 7cb0df4f
...@@ -22,6 +22,12 @@ if ! [ -x "$( command -v "$LINTER" )" ]; then ...@@ -22,6 +22,12 @@ if ! [ -x "$( command -v "$LINTER" )" ]; then
exit 0 exit 0
fi fi
$("$LINTER" -v)
if [[ $? != 0 ]] ; then
printf "${RED}Unable to check qml syntax.${NC}\n"
exit 0
fi
printf "${BLUE}Checking qml files...${NC}\n" printf "${BLUE}Checking qml files...${NC}\n"
so_far_so_good=0 so_far_so_good=0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment