Skip to content

Commit

Permalink
Ensure all files are clang formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
RossBrunton committed Jan 21, 2025
1 parent b074893 commit 7cf977a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function(add_cppformat name)
else()
# Split args into 2 parts (in Windows the list is probably too long)
list(SUBLIST ARGN 0 250 selected_files_1)
list(SUBLIST ARGN 251 -1 selected_files_2)
list(SUBLIST ARGN 250 -1 selected_files_2)
add_custom_target(cppformat-${name}
COMMAND ${CLANG_FORMAT} --style=file --i ${selected_files_1}
COMMAND ${CLANG_FORMAT} --style=file --i ${selected_files_2}
Expand Down

0 comments on commit 7cf977a

Please sign in to comment.