Files
byre/mac/Package.swift
T

32 lines
1.2 KiB
Swift
Raw Normal View History

// swift-tools-version: 6.2
import PackageDescription
let package = Package(
name: "Byre",
platforms: [.macOS("27.0")],
dependencies: [
.package(url: "https://github.com/migueldeicaza/SwiftTerm", from: "1.2.0"),
2026-10-16 22:46:54 -07:00
.package(url: "https://github.com/apple/swift-openapi-generator", from: "1.10.0"),
.package(url: "https://github.com/apple/swift-openapi-runtime", from: "1.8.0"),
.package(url: "https://github.com/apple/swift-openapi-urlsession", from: "1.1.0"),
],
targets: [
.target(
name: "ByreAPI",
dependencies: [
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
],
plugins: [.plugin(name: "OpenAPIGenerator", package: "swift-openapi-generator")]
),
.executableTarget(
name: "Byre",
2026-10-16 22:46:54 -07:00
dependencies: [
"ByreAPI",
2026-10-16 22:46:54 -07:00
.product(name: "SwiftTerm", package: "SwiftTerm"),
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"),
]
),
]
)