We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0231d31 commit 496255cCopy full SHA for 496255c
tools/format.sh
@@ -36,8 +36,11 @@ if [ $(clang_format_version) -ge $clang_format_min_version ]; then
36
echo "Formatting files using clang-format v$(clang_format_version)..."
37
for f in `git ls-files '*.[c|h]'`; do
38
[ "$verbose" -gt 0 ] && echo "formatting $f"
39
- $clang_format -style=file -i "$f"
+ $clang_format -style=file -i "$f" &
40
done
41
else
42
echo "clang-format version ${clang_format_min_version}+ is required!"
43
fi
44
+
45
+# wait for background processes to finish
46
+wait
0 commit comments