Commit 5bf85125 authored by Janek Kozicki's avatar Janek Kozicki

print clang-format version

parent a302d5b3
Pipeline #146252078 canceled with stages
in 90 minutes and 4 seconds
......@@ -58,6 +58,7 @@ stages:
- if [[ -e "/usr/bin/clang-format" ]] ; then
export CLANG_VERSION=`clang-format --version | sed -e 's/^.*version\s\([0-9]\+\).*$/\1/g'` ;
if [[ ${CLANG_VERSION} -ge "7" ]] ; then
echo -e "\n\e[92m===\nclang-format version is $CLANG_VERSION \n===\e[0m\n" ;
scripts/clang-formatter.sh ./ ;
export CHANGED_LINES=`git diff -w --shortstat | sed -e 's/^.*,\s\([0-9]\+\)\sdeletion.*$/\1/g'` ;
echo "CHANGED_LINES = "$CHANGED_LINES ;
......
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