summaryrefslogtreecommitdiffhomepage
path: root/run_format.sh
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-23 19:13:48 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-23 19:15:17 +0100
commita13e1c0911c0627184bc38f18c7fdda64447b3ad (patch)
tree073a62c09bf216e85a3f310376640fa1805147f9 /run_format.sh
parent149fa096eb306d03686b3b67e813cf1a78e08cd0 (diff)
meta(kernel): Reworked repository's filesystem structure.
Removing useless parts of the project too. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'run_format.sh')
-rwxr-xr-xrun_format.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/run_format.sh b/run_format.sh
deleted file mode 100755
index 576fa410..00000000
--- a/run_format.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-THIS_PATH="$(realpath "$0")"
-THIS_DIR="$(dirname "$THIS_PATH")"
-
-# Find all files in THIS_DIR which end in .ino, .cpp, etc., as specified
-# in the regular expression just below
-FILE_LIST="$(find "$THIS_DIR" | grep -E ".*(\.cc|\.cpp|\.c|\.h|\.hpp|\.h|\.cxx|\.hh|\.inl)$")"
-
-echo -e "Files found to format = \n\"\"\"\n$FILE_LIST\n\"\"\""
-
-# Format each file.
-# - NB: do NOT put quotes around `$FILE_LIST` below or else the `clang-format` command will
-# mistakenly see the entire blob of newline-separated file names as a SINGLE file name instead
-# of as a new-line separated list of *many* file names!
-clang-format --verbose -i --style=file $FILE_LIST