Files
OpenVR-AdvancedSettings-frame/build_scripts/linux/run-clang-tidy.sh
T
Vasily e8af73db28 Make CircleCI have feature parity with TravisCI and update docs
Unnecessary line from Bionic 18.04 was removed.

A proper version guard was included for clang. Xenial currently ships
3.8.
2019-06-24 19:21:14 +02:00

16 lines
212 B
Bash
Executable File

set +e
clang-tidy-7 --version
ERROR=0
for file in $(find ../src -name "*.cpp"); do
echo $file
clang-tidy-7 $file
EXIT=$?
if [[ $EXIT != 0 ]]; then
ERROR=1
fi
done
set -e
exit $ERROR