mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-21 21:58:06 +00:00
feat(tools/check_qml_syntax): do not check qml syntax if executable cannot be found the qt lib
This commit is contained in:
parent
7cb0df4f65
commit
4f715e083e
1 changed files with 6 additions and 0 deletions
|
|
@ -22,6 +22,12 @@ if ! [ -x "$( command -v "$LINTER" )" ]; then
|
|||
exit 0
|
||||
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"
|
||||
|
||||
so_far_so_good=0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue