-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPackage.swift
37 lines (36 loc) · 1.4 KB
/
Package.swift
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
30
31
32
33
34
35
36
37
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "DockerSwift",
platforms: [.macOS(.v14)],
products: [
.library(name: "DockerSwift", targets: ["DockerSwift"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.62.0"),
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.19.0"),
// Container attach endpoint
.package(url: "https://github.com/vapor/websocket-kit.git", from: "2.6.1"),
// Only used for parsing the multiple and inconsistent date formats returned by Docker
.package(url: "https://github.com/marksands/BetterCodable.git", from: "0.4.0")
// Some Docker features receive or return TAR archives. Used by tests
//.package(url: "https://github.com/kayembi/Tarscape.git", .branch("main")),
],
targets: [
.target(
name: "DockerSwift",
dependencies: [
.product(name: "NIO", package: "swift-nio"),
.product(name: "AsyncHTTPClient", package: "async-http-client"),
.product(name: "WebSocketKit", package: "websocket-kit"),
"BetterCodable",
]),
.testTarget(
name: "DockerSwiftTests",
dependencies: [
"DockerSwift",
//"Tarscape"
]
),
]
)