-
-
Notifications
You must be signed in to change notification settings - Fork 29
29 lines (28 loc) · 982 Bytes
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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "vapor-apns",
platforms: [
.macOS(.v13),
.iOS(.v16)
],
products: [
.library(name: "VaporAPNS", targets: ["VaporAPNS"]),
],
dependencies: [
.package(url: "https://github.com/swift-server-community/APNSwift.git", from: "5.0.0"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.77.2"),
],
targets: [
.target(name: "VaporAPNS", dependencies: [
.product(name: "APNS", package: "apnswift"),
.product(name: "Vapor", package: "vapor"),
],
swiftSettings: [.enableExperimentalFeature("StrictConcurrency=complete")]),
.testTarget(name: "VaporAPNSTests", dependencies: [
.target(name: "VaporAPNS"),
.product(name: "XCTVapor", package: "vapor"),
],
swiftSettings: [.enableExperimentalFeature("StrictConcurrency=complete")]),
]
)