diff options
Diffstat (limited to 'ci/run-style-check.sh')
-rwxr-xr-x | ci/run-style-check.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ci/run-style-check.sh b/ci/run-style-check.sh new file mode 100755 index 0000000000..0832c19df0 --- /dev/null +++ b/ci/run-style-check.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# +# Perform style check +# + +baseCommit=$1 + +git clang-format --style=file:.clang-format \ + --diff --extensions c,h "$baseCommit" |