-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
51 lines (45 loc) · 1.58 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
44
45
46
47
48
49
50
51
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "LFSPointers",
platforms: [.macOS(.v10_15), .iOS(.v13)],
products: [
.executable(name: "LFSPointers", targets: ["LFSPointersExecutable"]),
.library(name: "LFSPointersKit", targets: ["LFSPointersKit"]),
],
dependencies: [
// Straightforward, type-safe argument parsing for Swift
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "0.4.1"),
// Delightful console output for Swift developers.
.package(url: "https://github.com/onevcat/Rainbow", from: "4.0.0"),
// A nicer way to handle files & folders in Swift
.package(url: "https://github.com/JohnSundell/Files", from: "4.1.1"),
// Open-source implementation of a substantial portion of the API of Apple CryptoKit suitable for use on Linux platforms.
.package(url: "https://github.com/apple/swift-crypto.git", from: "1.1.2"),
// Swift System provides idiomatic interfaces to system calls and low-level currency types.
.package(url: "https://github.com/apple/swift-system.git", .revision("0627d28e6ae514940c6ee061acfd36a3c231b87f")),
],
targets: [
.target(
name: "LFSPointersKit",
dependencies: [
"Files",
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "SystemPackage", package: "swift-system"),
]
),
.target(
name: "LFSPointersExecutable",
dependencies: [
"Files",
"LFSPointersKit",
"Rainbow",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]
),
.testTarget(
name: "LFSPointersTests",
dependencies: ["LFSPointersKit"]
),
]
)