Skip to content

Commit 3544404

Browse files
HassanElDesoukyxedin
authored andcommitted
[Localization] Create swift-def-to-yaml-converter tool
1 parent 923b1fb commit 3544404

File tree

8 files changed

+176
-8321
lines changed

8 files changed

+176
-8321
lines changed

localization/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ add_custom_target(diagnostic-database)
33
add_custom_command(TARGET diagnostic-database
44
COMMAND
55
${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/diagnostics/ ${CMAKE_BINARY_DIR}/share/swift/diagnostics/
6+
COMMAND
7+
"${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/swift-def-to-yaml-converter"
8+
--output-directory ${CMAKE_BINARY_DIR}/share/swift/diagnostics/
69
COMMAND
710
"${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/swift-serialize-diagnostics"
811
--input-file-path ${CMAKE_BINARY_DIR}/share/swift/diagnostics/en.yaml

0 commit comments

Comments
 (0)