2026-07-19 00:47:49 +00:00
|
|
|
// swift-tools-version: 6.3
|
|
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
|
|
let package = Package(
|
2026-07-22 21:26:55 +00:00
|
|
|
name: "Infrastructure",
|
2026-07-19 00:47:49 +00:00
|
|
|
platforms: [
|
|
|
|
|
.macOS(.v15),
|
|
|
|
|
],
|
|
|
|
|
products: [
|
|
|
|
|
.library(
|
2026-07-22 21:26:55 +00:00
|
|
|
name: "Infrastructure",
|
2026-07-19 00:47:49 +00:00
|
|
|
targets: [
|
2026-07-22 21:26:55 +00:00
|
|
|
"Infrastructure"
|
2026-07-19 00:47:49 +00:00
|
|
|
]
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
dependencies: [
|
|
|
|
|
.package(
|
|
|
|
|
url: "https://github.com/hummingbird-project/hummingbird.git",
|
|
|
|
|
from: "2.25.0"
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
targets: [
|
|
|
|
|
.target(
|
2026-07-22 21:26:55 +00:00
|
|
|
name: "Infrastructure",
|
2026-07-19 00:47:49 +00:00
|
|
|
dependencies: [
|
|
|
|
|
.product(
|
|
|
|
|
name: "Hummingbird",
|
|
|
|
|
package: "hummingbird"
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
path: "Sources"
|
|
|
|
|
),
|
|
|
|
|
.testTarget(
|
2026-07-22 21:26:55 +00:00
|
|
|
name: "InfrastructureTests",
|
2026-07-19 00:47:49 +00:00
|
|
|
dependencies: [
|
2026-07-22 21:26:55 +00:00
|
|
|
.byName(name: "Infrastructure"),
|
2026-07-19 00:47:49 +00:00
|
|
|
.product(
|
|
|
|
|
name: "HummingbirdTesting",
|
|
|
|
|
package: "hummingbird"
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
path: "Tests"
|
|
|
|
|
),
|
|
|
|
|
]
|
|
|
|
|
)
|