-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
29 lines (27 loc) · 884 Bytes
/
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
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "howto",
platforms: [.macOS(.v10_15)],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
.package(url: "https://github.com/swift-server/async-http-client.git", exact: "1.22.2"),
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.7.5"),
],
targets: [
.executableTarget(
name: "howto",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "AsyncHTTPClient", package: "async-http-client"),
"SwiftSoup",
]
),
.testTarget(
name: "howtoTests",
dependencies: [
"howto",
]
),
]
)