From cc677c5fbe57ffe10d539c803a62178596c73f69 Mon Sep 17 00:00:00 2001 From: icex2 Date: Tue, 21 Mar 2023 23:36:09 +0100 Subject: [PATCH] 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. --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 86e00da..140afe5 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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..."