Check OCLint: Reformat file with `shfmt`
@@ -4,9 +4,15 @@ echo
echo CHECK SOURCE WITH OCLINT
echo
-command -v oclint >/dev/null 2>&1 || { echo "Could not locate OCLint" >&2; exit 0; }
+command -v oclint > /dev/null 2>&1 || {
+ echo "Could not locate OCLint" >&2
+ exit 0
+}
-test -f "@PROJECT_BINARY_DIR@/compile_commands.json" || { echo "Compilation database not found" >&2; exit 0; }
+test -f "@PROJECT_BINARY_DIR@/compile_commands.json" || {
+ echo "Compilation database not found" >&2
+ exit 0
+}
cd "@CMAKE_SOURCE_DIR@" || exit
oclint -p "@PROJECT_BINARY_DIR@" -enable-global-analysis -enable-clang-static-analyzer \
