Skip to content

Commit

Permalink
Added version printing to Astyle workflow target
Browse files Browse the repository at this point in the history
  • Loading branch information
alxhoff committed Sep 9, 2024
1 parent e78a8a1 commit 7e75b07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmake/tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,13 @@ if(ENABLE_ASTYLE)
${CHECK_FILES}
)

list(APPEND ASTYLE_VERSION
--version
)

add_custom_target(
format
COMMAND ${ASTYLE_BIN} ${ASTYLE_VERSION}
COMMAND ${ASTYLE_BIN} ${ASTYLE_ARGS}
COMMENT "running astyle"
)
Expand Down

0 comments on commit 7e75b07

Please sign in to comment.