Push-Definitions/Package.swift

29 lines
804 B
Swift
Raw Permalink Normal View History

2022-06-30 13:44:22 +02:00
// swift-tools-version: 5.6
2022-06-04 22:13:14 +02:00
import PackageDescription
let package = Package(
2022-06-09 11:48:00 +02:00
name: "PushMessageDefinitions",
platforms: [
2022-06-30 08:55:45 +02:00
.macOS(.v12),
2022-06-30 13:44:22 +02:00
.iOS(.v15)
],
2022-06-04 22:13:14 +02:00
products: [
.library(
2022-06-09 11:48:00 +02:00
name: "PushMessageDefinitions",
targets: ["PushMessageDefinitions"]),
2022-06-04 22:13:14 +02:00
],
dependencies: [
2022-06-30 13:44:22 +02:00
.package(url: "https://github.com/swift-server-community/APNSwift.git", from: "5.0.0-alpha.4"),
2022-11-18 13:39:48 +01:00
.package(url: "https://github.com/christophhagen/BinaryCodable.git", from: "1.0.0"),
2022-06-04 22:13:14 +02:00
],
targets: [
.target(
2022-06-09 11:48:00 +02:00
name: "PushMessageDefinitions",
2022-11-18 13:39:48 +01:00
dependencies: [
.product(name: "APNSwift", package: "APNSwift"),
.product(name: "BinaryCodable", package: "BinaryCodable"),
])
2022-06-04 22:13:14 +02:00
]
)