-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathPackage.swift
More file actions
27 lines (26 loc) · 801 Bytes
/
Package.swift
File metadata and controls
27 lines (26 loc) · 801 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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "compress-nio",
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13)],
products: [
.library(name: "CompressNIO", targets: ["CompressNIO"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.40.0"),
],
targets: [
.target(name: "CompressNIO", dependencies: [
.product(name: "NIOCore", package: "swift-nio"),
.byName(name: "CCompressZlib")
]),
.target(
name: "CCompressZlib",
dependencies: [],
linkerSettings: [
.linkedLibrary("z")
]
),
.testTarget(name: "CompressNIOTests", dependencies: ["CompressNIO"]),
]
)