-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
54 lines (49 loc) · 1.37 KB
/
Copy pathPackage.swift
File metadata and controls
54 lines (49 loc) · 1.37 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
48
49
50
51
52
53
54
// swift-tools-version: 6.4
import PackageDescription
let strictSwiftSettings: [SwiftSetting] = [
.treatAllWarnings(as: .error),
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InferIsolatedConformances"),
.enableUpcomingFeature("InternalImportsByDefault"),
.enableUpcomingFeature("MemberImportVisibility"),
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
]
let package = Package(
name: "CloudSaveKit",
platforms: [
.iOS(.v26),
.macOS(.v26),
.tvOS(.v26),
.watchOS(.v26),
.visionOS(.v26),
],
products: [
.library(
name: "CloudSaveKit",
targets: ["CloudSaveKit"]
)
],
dependencies: [
.package(url: "https://github.com/thatfactory/applogger", from: "1.1.0"),
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.5.0"),
],
targets: [
.target(
name: "CloudSaveKit",
dependencies: [
.product(
name: "AppLogger",
package: "applogger"
)
]
),
.testTarget(
name: "CloudSaveKitTests",
dependencies: ["CloudSaveKit"]
),
]
)
package.swiftLanguageModes = [.v6]
for target in package.targets {
target.swiftSettings = strictSwiftSettings
}