Skip to content

Commit 0b8bfdd

Browse files
committed
Add batch script to format C source files
Introduces format.bat, a script that applies clang-format to all .c and .h files in the src directory for consistent code formatting.
1 parent ee10faa commit 0b8bfdd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

format.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
3+
for %%f in (%~dp0src\*.c) do clang-format -i "%%f"
4+
for %%f in (%~dp0src\*.h) do clang-format -i "%%f"

0 commit comments

Comments
 (0)