-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
43 lines (42 loc) · 1.52 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
38
39
40
41
42
43
// swift-tools-version: 5.7
import PackageDescription
let package = Package(
name: "AllAppleDevices",
products: [
.executable(
name: "all-apple-devices",
targets: ["ExecutableCommandLineInterface"]
),
],
dependencies: [
.package(url: "https://github.com/JohnSundell/Files", exact: "4.2.0"),
.package(url: "https://github.com/JohnSundell/ShellOut", exact: "2.3.0"),
.package(url: "https://github.com/stephencelis/SQLite.swift", exact: "0.14.1"),
.package(url: "https://github.com/apple/swift-algorithms", exact: "1.0.0"),
.package(url: "https://github.com/apple/swift-argument-parser", exact: "1.2.0"),
],
targets: [
.target(
name: "CommandLineInterface",
dependencies: [
.product(name: "Files", package: "Files"),
.product(name: "ShellOut", package: "ShellOut"),
.product(name: "SQLite", package: "SQLite.swift"),
.product(name: "Algorithms", package: "swift-algorithms"),
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]
),
.testTarget(
name: "CommandLineInterfaceTests",
dependencies: [
.target(name: "CommandLineInterface"),
]
),
.executableTarget(
name: "ExecutableCommandLineInterface",
dependencies: [
.target(name: "CommandLineInterface"),
]
),
]
)