Use clang-format
This commit is contained in:
@@ -23,4 +23,13 @@ build/kernel.elf: $(o)
|
||||
clean:
|
||||
rm -f $(o) build/kernel.elf
|
||||
|
||||
.PHONY: all clean
|
||||
format:
|
||||
clang-format -i $$(git ls-files '*.c' '*.h' \
|
||||
':!limine/limine.h' \
|
||||
':!c_headers/include/**' \
|
||||
':!uACPI/source/**' \
|
||||
':!uACPI/include/**' \
|
||||
':!uACPI/tests/**' \
|
||||
':!libk/printf*')
|
||||
|
||||
.PHONY: all clean format
|
||||
|
||||
Reference in New Issue
Block a user