IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 3e378e21 authored by ralfulrich's avatar ralfulrich
Browse files

fixed script

parent 9e7d3519
No related branches found
No related tags found
1 merge request!140Fix clang checks
...@@ -5,7 +5,7 @@ command="clang-format -style=file `find . -iregex '^.*\.\(cc\|h\)$' -not -path ' ...@@ -5,7 +5,7 @@ command="clang-format -style=file `find . -iregex '^.*\.\(cc\|h\)$' -not -path '
if [ "$1" == "check" ]; if [ "$1" == "check" ];
then then
`! ${command} -output-replacements-xml | grep -qc "<replacement "` || \ `! ${command} -output-replacements-xml | grep -qc "<replacement "` || \
{ echo "format-check FAILED!"; exit $ERRCODE; } { echo "format-check FAILED!"; exit 1; }
echo "Congratulations: format-check succeeded" echo "Congratulations: format-check succeeded"
elif [ "$1" == "apply" ]; elif [ "$1" == "apply" ];
then then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment