2025-02-22 10:21:07 +01:00
|
|
|
// swift-tools-version:6.0
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
2025-03-09 22:53:45 +01:00
|
|
|
name: "Doxy",
|
2025-02-22 10:21:07 +01:00
|
|
|
platforms: [
|
2025-03-09 22:53:45 +01:00
|
|
|
.iOS(.v17),
|
2025-02-22 10:21:07 +01:00
|
|
|
.macOS(.v14)
|
|
|
|
],
|
|
|
|
products: [
|
2025-03-27 00:04:51 +01:00
|
|
|
.executable(name: "doxy", targets: ["DoxyApp"])
|
2025-02-22 10:21:07 +01:00
|
|
|
],
|
|
|
|
dependencies: [
|
2025-03-13 01:19:17 +01:00
|
|
|
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.3.0"),
|
|
|
|
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
|
|
|
|
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0")
|
2025-02-22 10:21:07 +01:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.executableTarget(
|
2025-03-09 22:53:45 +01:00
|
|
|
name: "DoxyApp",
|
2025-02-22 10:21:07 +01:00
|
|
|
dependencies: [
|
|
|
|
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
|
|
|
.product(name: "Hummingbird", package: "hummingbird"),
|
2025-03-09 22:53:45 +01:00
|
|
|
.target(name: "DoxyLibrary")
|
2025-02-22 10:21:07 +01:00
|
|
|
],
|
|
|
|
path: "App"
|
|
|
|
),
|
|
|
|
.target(
|
2025-03-09 22:53:45 +01:00
|
|
|
name: "DoxyLibrary",
|
2025-02-22 10:21:07 +01:00
|
|
|
dependencies: [
|
|
|
|
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
2025-04-14 00:08:28 +02:00
|
|
|
.product(name: "Hummingbird", package: "hummingbird")
|
2025-02-22 10:21:07 +01:00
|
|
|
],
|
2025-03-04 23:17:34 +01:00
|
|
|
path: "Library"
|
2025-02-22 10:21:07 +01:00
|
|
|
),
|
|
|
|
.testTarget(
|
2025-03-09 22:53:45 +01:00
|
|
|
name: "DoxyTests",
|
2025-02-22 10:21:07 +01:00
|
|
|
dependencies: [
|
|
|
|
.product(name: "HummingbirdTesting", package: "hummingbird"),
|
2025-03-09 22:53:45 +01:00
|
|
|
.target(name: "DoxyLibrary")
|
2025-02-22 10:21:07 +01:00
|
|
|
],
|
|
|
|
path: "Test"
|
|
|
|
)
|
|
|
|
]
|
|
|
|
)
|