Skip to content

Commit

Permalink
Update clang_format.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
roboticvedant authored Oct 14, 2024
1 parent 29452dc commit ac6bc7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/clang_format.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Run clang-format on all .c, .cpp, .h, and .hpp files in the specified directory
SRC_DIR="motor_controller/motor_controller/Src"
SRC_DIR="motor_controller/motor_controller/Src/Src-Inc"
find $SRC_DIR -regex '.*\.\(c\|cpp\|h\|hpp\)' -exec clang-format -i {} \;

# Add a success message
Expand Down

0 comments on commit ac6bc7b

Please sign in to comment.