SwiftyOpenCC // SwiftLint.
This commit is contained in:
parent
363a01f692
commit
1edd086f60
|
@ -21,7 +21,7 @@ let package = Package(
|
|||
dependencies: ["OpenCC"],
|
||||
resources: [
|
||||
.copy("benchmark"),
|
||||
.copy("testcases"),
|
||||
.copy("testcases")
|
||||
]),
|
||||
.target(
|
||||
name: "copencc",
|
||||
|
@ -66,20 +66,20 @@ let package = Package(
|
|||
"deps/marisa-0.2.6/AUTHORS",
|
||||
"deps/marisa-0.2.6/CMakeLists.txt",
|
||||
"deps/marisa-0.2.6/COPYING.md",
|
||||
"deps/marisa-0.2.6/README.md",
|
||||
"deps/marisa-0.2.6/README.md"
|
||||
],
|
||||
sources: [
|
||||
"source.cpp",
|
||||
"src",
|
||||
"deps/marisa-0.2.6",
|
||||
"deps/marisa-0.2.6"
|
||||
],
|
||||
cxxSettings: [
|
||||
.headerSearchPath("src"),
|
||||
.headerSearchPath("deps/darts-clone"),
|
||||
.headerSearchPath("deps/marisa-0.2.6/include"),
|
||||
.headerSearchPath("deps/marisa-0.2.6/lib"),
|
||||
.define("ENABLE_DARTS"),
|
||||
]),
|
||||
.define("ENABLE_DARTS")
|
||||
])
|
||||
],
|
||||
cxxLanguageStandard: .cxx14
|
||||
)
|
||||
|
|
|
@ -10,7 +10,7 @@ let testCases: [(String, ChineseConverter.Options)] = [
|
|||
("s2tw", [.traditionalize, .twStandard]),
|
||||
("tw2s", [.simplify, .twStandard]),
|
||||
("s2twp", [.traditionalize, .twStandard, .twIdiom]),
|
||||
("tw2sp", [.simplify, .twStandard, .twIdiom]),
|
||||
("tw2sp", [.simplify, .twStandard, .twIdiom])
|
||||
]
|
||||
|
||||
class OpenCCTests: XCTestCase {
|
||||
|
|
Loading…
Reference in New Issue