Skip to content

Commit

Permalink
🔧 Print used clang-format version
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans committed Jan 27, 2025
1 parent ff2b57f commit d3dc116
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/clang-format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
# this script.
SRC_DIR="$( cd "$( dirname "$0" )" && pwd )"

# Print the clang-format version.
echo "Using clang-format $(clang-format --version)"

# Execute clang format for all *.cpp, *.hpp and *.inl files.
find "$SRC_DIR/../src" "$SRC_DIR/../plugins" "$SRC_DIR/../resources" "$SRC_DIR/../tools" -type f \
\( -name '*.cpp' -o -name '*.hpp' -o -name '*.inl' -o \
Expand Down

0 comments on commit d3dc116

Please sign in to comment.