Skip to content

Commit d74cad6

Browse files
authored
[Localization] Install only *.db and *.yaml files (swiftlang#34139)
This prevents us from picking up the .gitkeep file and any other stray files that might end up in there.
1 parent 7271fd0 commit d74cad6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

localization/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ add_dependencies(diagnostic-database swift-def-to-yaml-converter)
1919
swift_install_in_component(
2020
DIRECTORY ${CMAKE_BINARY_DIR}/share/swift/diagnostics/
2121
DESTINATION "share/swift/diagnostics"
22-
COMPONENT compiler)
22+
COMPONENT compiler
23+
PATTERN "*.db"
24+
PATTERN "*.yaml"
25+
)

0 commit comments

Comments
 (0)