GzipMiddleware/Package.swift

23 lines
670 B
Swift
Raw Permalink Normal View History

2020-05-10 23:49:12 +00:00
// swift-tools-version:5.2
2018-10-06 19:24:35 +00:00
import PackageDescription
let package = Package(
name: "GzipMiddleware",
products: [
.library(name: "GzipMiddleware", targets: ["GzipMiddleware"])
],
2018-10-06 20:24:47 +00:00
dependencies: [
// 💧 A server-side Swift web framework.
2020-05-10 23:49:12 +00:00
.package(url: "https://github.com/vapor/vapor.git", from: "4.3.0"),
2018-10-06 20:24:47 +00:00
// 🤐 Unzip archives
2020-02-12 01:08:28 +00:00
.package(url: "https://github.com/microtherion/ZIPFoundation.git", from: "0.9.9-µ5")
2018-10-06 20:24:47 +00:00
],
2018-10-06 19:24:35 +00:00
targets: [
2020-05-10 23:49:12 +00:00
.target(name: "GzipMiddleware", dependencies: [
.product(name: "Vapor", package: "vapor"),
.product(name: "ZIPFoundation", package: "ZIPFoundation"),
])
2018-10-06 19:24:35 +00:00
]
)