From f9d7e440829fb5899198517396bbc7e580ecb801 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 29 Nov 2025 21:42:25 -0500 Subject: chore: move format.sh to root Signed-off-by: Amlal El Mahrouss --- format.sh | 10 ++++++++++ scripts/format.sh | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) create mode 100755 format.sh delete mode 100755 scripts/format.sh diff --git a/format.sh b/format.sh new file mode 100755 index 0000000..f36943c --- /dev/null +++ b/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 diff --git a/scripts/format.sh b/scripts/format.sh deleted file mode 100755 index f36943c..0000000 --- a/scripts/format.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/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