From 285c3cc411d7211a2875663285dae5eec5415a2d Mon Sep 17 00:00:00 2001 From: apio Date: Sun, 20 Nov 2022 18:28:16 +0100 Subject: [PATCH] Add Luna sources to list of sources to be formatted --- tools/check-formatting.sh | 1 + tools/run-clang-format.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/check-formatting.sh b/tools/check-formatting.sh index 366c5748..bea7f2a8 100755 --- a/tools/check-formatting.sh +++ b/tools/check-formatting.sh @@ -5,6 +5,7 @@ source $(dirname $0)/env.sh cd $LUNA_ROOT SOURCES=($(find kernel/src -type f | grep -v "\.asm")) +SOURCES+=($(find luna -type f | grep -v "CMakeLists.txt")) ALL_OK=1 diff --git a/tools/run-clang-format.sh b/tools/run-clang-format.sh index 43963d0f..2e69fa67 100755 --- a/tools/run-clang-format.sh +++ b/tools/run-clang-format.sh @@ -6,6 +6,7 @@ source $(dirname $0)/env.sh cd $LUNA_ROOT SOURCES=($(find kernel/src -type f | grep -v "\.asm")) +SOURCES+=($(find luna -type f | grep -v "CMakeLists.txt")) for f in ${SOURCES[@]} do