mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
formatting(dfr): add .hpp to the formatting script and format the relevant files.
This commit is contained in:
2
.github/workflows/scripts/format_cpp.sh
vendored
2
.github/workflows/scripts/format_cpp.sh
vendored
@@ -2,7 +2,7 @@
|
||||
|
||||
set -o pipefail
|
||||
|
||||
find ./compiler/{include,lib,src} \( -iname "*.h" -o -iname "*.cpp" -o -iname "*.cc" \) | xargs clang-format -i -style='file'
|
||||
find ./compiler/{include,lib,src} -iregex '^.*\.\(cpp\|cc\|h\|hpp\)$' | xargs clang-format -i -style='file'
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user