mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-11-10 10:34:52 +03:00
31 lines
865 B
Swift
31 lines
865 B
Swift
// swift-tools-version:5.7
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "SyntaxMapBuilder",
|
|
platforms: [
|
|
.macOS(.v13),
|
|
],
|
|
products: [
|
|
.executable(name: "SyntaxMapBuilder", targets: ["SyntaxMapBuilder"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/apple/swift-argument-parser", from: Version(1, 2, 0)),
|
|
.package(url: "https://github.com/jpsim/Yams", from: Version(5, 0, 0)),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "SyntaxMapBuilder",
|
|
dependencies: [
|
|
"Yams",
|
|
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
|
]),
|
|
|
|
.testTarget(
|
|
name: "SyntaxMapBuilderTests",
|
|
dependencies: ["SyntaxMapBuilder"],
|
|
resources: [.copy("Syntaxes")]),
|
|
]
|
|
)
|