Skip to content

Commit

Permalink
Move .clang-format at project root (#2568)
Browse files Browse the repository at this point in the history
This seems to be the usual practice for C/C++ code bases.
  • Loading branch information
a-zakir authored Jan 9, 2025
1 parent ad2140f commit c9cdfd1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/format-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ fi
if ! [ -x "$(command -v clang-format)" ]; then
echo 'Warning: clang-format is not installed. Skipping' >&2
else
echo "$SOURCE_FILES" | xargs clang-format -i --verbose
echo "$SOURCE_FILES" | xargs clang-format -style=file:../.clang-format -i --verbose
fi

0 comments on commit c9cdfd1

Please sign in to comment.