From 47eda54d6a9170ff539f974ea683ce6a282284e1 Mon Sep 17 00:00:00 2001 From: "E.T" Date: Fri, 9 Jun 2023 21:50:21 +0200 Subject: [PATCH] Format script (#1123) * Add code formatting script * dont forma the test framework * use clang-format-13 --------- Co-authored-by: Eisenberger Tamas --- format-code.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 format-code.sh diff --git a/format-code.sh b/format-code.sh new file mode 100755 index 00000000..ab2f21b0 --- /dev/null +++ b/format-code.sh @@ -0,0 +1,2 @@ +#!/bin/sh +find firmware/common firmware/baseband firmware/application firmware/test/application firmware/test/baseband -iname '*.h' -o -iname '*.hpp' -o -iname '*.cpp' -o -iname '*.c' | xargs clang-format-13 -style=file -i