-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
47 lines (44 loc) · 1.33 KB
/
Package.swift
File metadata and controls
47 lines (44 loc) · 1.33 KB
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
// swift-tools-version: 6.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "SwiftCIFP",
defaultLocalization: "en",
platforms: [.macOS(.v26), .iOS(.v26), .watchOS(.v26), .tvOS(.v26), .visionOS(.v26)],
products: [
.library(
name: "SwiftCIFP",
targets: ["SwiftCIFP"]
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.7.0"),
.package(url: "https://github.com/swiftlang/swift-docc-plugin.git", from: "1.4.3"),
.package(url: "https://github.com/weichsel/ZIPFoundation.git", from: "0.9.20"),
.package(url: "https://github.com/jkandzi/Progress.swift.git", from: "0.4.0")
],
targets: [
.target(
name: "SwiftCIFP",
resources: [.process("Resources")]
),
.testTarget(
name: "SwiftCIFPTests",
dependencies: ["SwiftCIFP"]
),
],
swiftLanguageModes: [.v5, .v6]
)
#if os(macOS)
package.targets.append(
.executableTarget(
name: "SwiftCIFP_E2E",
dependencies: [
"SwiftCIFP",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "ZIPFoundation", package: "ZIPFoundation"),
.product(name: "Progress", package: "Progress.swift"),
]
)
)
#endif