Skip to content

Commit

Permalink
ci: run clang-format on .h files too
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro authored Oct 15, 2024
1 parent d15eada commit a54f1f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmake/analysis/RunClangFormat.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# https://clang.llvm.org/docs/ClangFormat.html

set(CLANG_FORMAT_SOURCES ${BUN_C_SOURCES} ${BUN_CXX_SOURCES})
file(GLOB BUN_H_SOURCES ${CONFIGURE_DEPENDS}
${CWD}/src/*.h
)

set(CLANG_FORMAT_SOURCES ${BUN_C_SOURCES} ${BUN_CXX_SOURCES} ${BUN_H_SOURCES})

register_command(
TARGET
Expand Down

0 comments on commit a54f1f0

Please sign in to comment.