-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
33 lines (32 loc) · 1.17 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
28
29
30
31
32
33
// swift-tools-version:6.0
import PackageDescription
let package = Package(
name: "swift-ofrep",
platforms: [.macOS(.v15)],
products: [
.library(name: "OFREP", targets: ["OFREP"])
],
dependencies: [
.package(url: "https://github.com/swift-open-feature/swift-open-feature.git", branch: "main"),
.package(url: "https://github.com/apple/swift-openapi-generator.git", from: "1.7.0"),
.package(url: "https://github.com/apple/swift-openapi-runtime.git", from: "1.0.0"),
.package(url: "https://github.com/swift-server/swift-openapi-async-http-client.git", from: "1.0.0"),
],
targets: [
.target(
name: "OFREP",
dependencies: [
.product(name: "OpenFeature", package: "swift-open-feature"),
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIAsyncHTTPClient", package: "swift-openapi-async-http-client"),
]
),
.testTarget(
name: "OFREPTests",
dependencies: [
.target(name: "OFREP")
]
),
],
swiftLanguageModes: [.v6]
)