From 6948e9549230b0245a3a7e0968331e9e13c161fc Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Tue, 15 Oct 2024 15:56:26 -0700 Subject: [PATCH] maybe its not recursive? --- cmake/analysis/RunClangFormat.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/analysis/RunClangFormat.cmake b/cmake/analysis/RunClangFormat.cmake index d451c98fbaf41..106ac54ef6dd7 100644 --- a/cmake/analysis/RunClangFormat.cmake +++ b/cmake/analysis/RunClangFormat.cmake @@ -1,7 +1,8 @@ # https://clang.llvm.org/docs/ClangFormat.html -file(GLOB BUN_H_SOURCES ${CONFIGURE_DEPENDS} - ${CWD}/src/*.h +file(GLOB BUN_H_SOURCES LIST_DIRECTORIES false ${CONFIGURE_DEPENDS} + ${CWD}/src/bun.js/bindings/*.h + ${CWD}/src/bun.js/modules/*.h ) set(CLANG_FORMAT_SOURCES ${BUN_C_SOURCES} ${BUN_CXX_SOURCES} ${BUN_H_SOURCES})