Commit 7cb0df4f authored by Ronan Abhamon's avatar Ronan Abhamon

feat(tools/check_qml_syntax): check if `linter` exists

parent d02d22f9
...@@ -15,6 +15,13 @@ NC='\e[0m' ...@@ -15,6 +15,13 @@ NC='\e[0m'
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $SCRIPT_DIR/.. cd $SCRIPT_DIR/..
# ==============================================================================
if ! [ -x "$( command -v "$LINTER" )" ]; then
printf "${RED}Unable to found `$LINTER`. No tests can be executed.${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