chore(dev): Scope code formatting to src/main and src/test

Do not format imports which includes headers from other projects
with different code styles.
This commit is contained in:
icex2
2023-04-01 20:52:42 +02:00
parent cf9f3b9dbd
commit cc677c5fbe
+1 -1
View File
@@ -69,7 +69,7 @@ clean:
code-format:
$(V)echo "Applying clang-format..."
$(V)find src/ -name '*.c' -o -name '*.h' | xargs clang-format -i -style=file
$(V)find src/main src/test -name '*.c' -o -name '*.h' | xargs clang-format -i -style=file
run-tests:
$(V)echo "Running tests..."