check_format.sh: check C++ files (.cpp)
Change-Id: Id3b2fb95b2770ff28c9a6561531ae787b54bdaeb Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
a60b63ad65
commit
83aa00649c
@ -11,6 +11,7 @@ if hash astyle; then
|
||||
rm -f astyle.log
|
||||
touch astyle.log
|
||||
astyle --options=.astylerc "*.c" >> astyle.log
|
||||
astyle --options=.astylerc "*.cpp" >> astyle.log
|
||||
astyle --options=.astylerc "*.h" >> astyle.log
|
||||
if grep -q "^Formatted" astyle.log; then
|
||||
echo " errors detected"
|
||||
|
Loading…
x
Reference in New Issue
Block a user