Skip to content

Commit

Permalink
Use git ls-files for checkstyle (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
mogaika authored Jan 11, 2024
1 parent a35c710 commit e2b7e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ version:
fi

checkstyle:
find . -name "*.c" -or -name "*.h" | xargs clang-format-11 -n --Werror
git ls-files | grep -e "\\.[c|h]$$" | xargs clang-format-11 -n --Werror

ci-build: version
hack/ci-build.sh
Expand Down

0 comments on commit e2b7e03

Please sign in to comment.