summaryrefslogtreecommitdiffhomepage
path: root/format.sh
diff options
context:
space:
mode:
Diffstat (limited to 'format.sh')
-rwxr-xr-xformat.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/format.sh b/format.sh
index f36943cd..9cb50804 100755
--- a/format.sh
+++ b/format.sh
@@ -2,9 +2,6 @@
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\"\"\""
+FILE_LIST="$(find "$THIS_DIR" | grep -E ".*(\.cpp|\.cc|\.c|\.h|\.inl)$")"
clang-format --verbose -i --style=file $FILE_LIST