mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-08-22 15:05:26 +00:00
add submodule and add conversion tests
This commit is contained in:
@ -22,6 +22,12 @@ let package = Package(
|
||||
name: "SwiftUtils",
|
||||
targets: ["SwiftUtils"]
|
||||
),
|
||||
/// デフォルト辞書データを含むバージョンの辞書モジュール
|
||||
.library(
|
||||
name: "KanaKanjiConverterModuleWithDefaultDictionary",
|
||||
targets: ["KanaKanjiConverterModuleWithDefaultDictionary"]
|
||||
),
|
||||
/// 辞書データを含まないバージョンの辞書モジュール
|
||||
.library(
|
||||
name: "KanaKanjiConverterModule",
|
||||
targets: ["KanaKanjiConverterModule"]
|
||||
@ -51,6 +57,20 @@ let package = Package(
|
||||
resources: [],
|
||||
swiftSettings: swiftSettings
|
||||
),
|
||||
.target(
|
||||
name: "KanaKanjiConverterModuleWithDefaultDictionary",
|
||||
dependencies: [
|
||||
"KanaKanjiConverterModule"
|
||||
],
|
||||
exclude: [
|
||||
"azooKey_dictionary_storage/README.md",
|
||||
"azooKey_dictionary_storage/LICENSE",
|
||||
],
|
||||
resources: [
|
||||
.copy("azooKey_dictionary_storage/Dictionary"),
|
||||
],
|
||||
swiftSettings: swiftSettings
|
||||
),
|
||||
.testTarget(
|
||||
name: "SwiftUtilsTests",
|
||||
dependencies: ["SwiftUtils"],
|
||||
@ -64,6 +84,11 @@ let package = Package(
|
||||
.copy("DictionaryMock")
|
||||
],
|
||||
swiftSettings: swiftSettings
|
||||
),
|
||||
.testTarget(
|
||||
name: "KanaKanjiConverterModuleWithDefaultDictionaryTests",
|
||||
dependencies: ["KanaKanjiConverterModuleWithDefaultDictionary"],
|
||||
swiftSettings: swiftSettings
|
||||
)
|
||||
]
|
||||
)
|
||||
|
Reference in New Issue
Block a user