-
Notifications
You must be signed in to change notification settings - Fork 5
/
Package.swift
27 lines (25 loc) · 1.04 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "swift-openapi-hummingbird",
platforms: [.macOS(.v14), .iOS(.v17), .tvOS(.v17), .watchOS(.v10)],
products: [.library(name: "OpenAPIHummingbird", targets: ["OpenAPIHummingbird"])],
dependencies: [
.package(url: "https://github.com/apple/swift-openapi-runtime.git", from: "1.0.0"),
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0"),
],
targets: [
.target(
name: "OpenAPIHummingbird",
dependencies: [
.product(name: "Hummingbird", package: "hummingbird"),
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
]
),
.testTarget(
name: "OpenAPIHummingbirdTests",
dependencies: ["OpenAPIHummingbird", .product(name: "HummingbirdTesting", package: "hummingbird")]
),
]
)