CHGenerator/Package.swift

27 lines
851 B
Swift
Raw Normal View History

2022-09-09 11:18:32 +02:00
// swift-tools-version: 5.6
import PackageDescription
let package = Package(
name: "CHGenerator",
platforms: [.macOS(.v10_15)],
products: [
.executable(
name: "CHGenerator",
targets: ["Generator"]),
],
dependencies: [
.package(url: "https://github.com/johnsundell/ink.git", from: "0.5.0"),
.package(url: "https://github.com/JohnSundell/Splash", from: "0.16.0"),
2022-09-09 13:29:31 +02:00
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"),
2022-09-09 11:18:32 +02:00
],
targets: [
.executableTarget(
name: "Generator",
dependencies: [
.product(name: "Ink", package: "ink"),
.product(name: "Splash", package: "Splash"),
2022-09-09 13:29:31 +02:00
.product(name: "ArgumentParser", package: "swift-argument-parser"),
2022-09-09 11:18:32 +02:00
]),
]
)