Auxilary scripts for formatting all components
All checks were successful
Build documentation / build-and-deploy (push) Successful in 44s

This commit is contained in:
2026-01-04 01:44:02 +01:00
parent e077d322f4
commit b5353cb600
11 changed files with 42 additions and 33 deletions

View File

@@ -6,4 +6,7 @@ all_apps:
clean_apps:
@for d in $(apps); do make -C $$d platform=$(platform) clean; done
.PHONY: all_apps clean_apps
format_apps:
@for d in $(apps); do make -C $$d platform=$(platform) format; done
.PHONY: all_apps clean_apps format_apps

View File

@@ -23,4 +23,7 @@ $(app): $(o)
clean:
rm -f $(o) $(app)
.PHONY: all clean
format:
clang-format -i $$(git ls-files '*.c' '*.h')
.PHONY: all clean format