diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-03-31 07:09:23 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-03-31 07:09:23 +0200 |
| commit | fbbc3456663f800eff9e047f26fd64874c4aa152 (patch) | |
| tree | 9b6657e9e38fc22763e04d7f333c2c998455ec87 /format.sh | |
| parent | f23d088ce1ef85ed134a20bfacf6eeb7d3c7d2c1 (diff) | |
mod/embdfs.hpp: add superblock structure.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'format.sh')
| -rwxr-xr-x | format.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/format.sh b/format.sh new file mode 100755 index 0000000..28928f2 --- /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 ".*(\.cpp|\.c|\.hpp|\.inl)$")" + +echo -e "Files found to format = \n\"\"\"\n$FILE_LIST\n\"\"\"" + +clang-format --verbose -i --style=file $FILE_LIST |
