From 1b5097d5035cb73a4845e914021851bf81186bfb Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 29 Nov 2025 21:15:44 -0500 Subject: chore: NeBuildKit: Architectural improvements over {Defines+Includes}.h Signed-off-by: Amlal El Mahrouss --- scripts/format.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scripts/format.sh (limited to 'scripts/format.sh') diff --git a/scripts/format.sh b/scripts/format.sh new file mode 100755 index 0000000..f36943c --- /dev/null +++ b/scripts/format.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +THIS_PATH="$(realpath "$0")" +THIS_DIR="$(dirname "$THIS_PATH")" + +FILE_LIST="$(find "$THIS_DIR" | grep -E ".*(\.cc|\.c|\.h|\.inl)$")" + +echo -e "Files found to format = \n\"\"\"\n$FILE_LIST\n\"\"\"" + +clang-format --verbose -i --style=file $FILE_LIST -- cgit v1.2.3