Skip to content

Commit 7e75b07

Browse files
committed
Added version printing to Astyle workflow target
1 parent e78a8a1 commit 7e75b07

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/tests.cmake

+5
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,13 @@ if(ENABLE_ASTYLE)
8383
${CHECK_FILES}
8484
)
8585

86+
list(APPEND ASTYLE_VERSION
87+
--version
88+
)
89+
8690
add_custom_target(
8791
format
92+
COMMAND ${ASTYLE_BIN} ${ASTYLE_VERSION}
8893
COMMAND ${ASTYLE_BIN} ${ASTYLE_ARGS}
8994
COMMENT "running astyle"
9095
)

0 commit comments

Comments
 (0)