CotEditor/SyntaxMapBuilder/Package.swift
2023-08-19 10:27:42 +09:00

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")]),
]
)