1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2024-11-24 06:40:11 +01:00

Makefile: Fix clang format command

This commit is contained in:
icex2 2020-08-21 14:14:17 +02:00
parent f9c0733af3
commit e0fe9bcf94

View File

@ -68,9 +68,8 @@ clean:
$(V)rm -rf $(BUILDDIR)
code-format:
@echo "Applying clang-format..."
# -style=file enables reading .clang-format
@find src/ -iname *.h -o -iname *.c | xargs clang-format -i -style=file
$(V)echo "Applying clang-format..."
$(V)find src/ -name '*.c' -o -name '*.h' | xargs clang-format -i -style=file
run-tests:
@echo "Running tests..."