summaryrefslogtreecommitdiff
path: root/ci/run-style-check.sh
blob: 0832c19df076f4242fe317c1101bcb26b4c9d476 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
#
# Perform style check
#

baseCommit=$1

git clang-format --style=file:.clang-format \
	--diff --extensions c,h "$baseCommit"