2018-10-06 19:24:35 +00:00
|
|
|
// swift-tools-version:4.0
|
|
|
|
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.
|
|
|
|
.package(url: "https://github.com/vapor/vapor.git", from: "3.0.0"),
|
|
|
|
|
|
|
|
// 🤐 Unzip archives
|
2018-10-06 23:32:19 +00:00
|
|
|
.package(url: "https://github.com/microtherion/ZIPFoundation.git", .upToNextMajor(from: "0.9.8-µ"))
|
2018-10-06 20:24:47 +00:00
|
|
|
],
|
2018-10-06 19:24:35 +00:00
|
|
|
targets: [
|
2018-10-06 20:24:47 +00:00
|
|
|
.target(name: "GzipMiddleware", dependencies: ["Vapor", "ZIPFoundation"]),
|
2018-10-06 19:24:35 +00:00
|
|
|
]
|
|
|
|
)
|