This commit is contained in:
Max Goedjen
2026-03-28 13:22:27 -07:00
parent ece3865d9a
commit f527e136e3
7 changed files with 126 additions and 26 deletions

View File

@@ -36,6 +36,7 @@ let package = Package(
targets: ["SSHProtocolKit"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-system", from: "1.6.1"),
],
targets: [
.target(
@@ -63,7 +64,12 @@ let package = Package(
),
.target(
name: "SecretAgentKit",
dependencies: ["SecretKit", "SSHProtocolKit", "Common"],
dependencies: [
"SecretKit",
"SSHProtocolKit",
"Common",
.product(name: "SystemPackage", package: "swift-system")
],
resources: [localization],
swiftSettings: swiftSettings,
),
@@ -112,7 +118,7 @@ var localization: Resource {
var swiftSettings: [PackageDescription.SwiftSetting] {
[
.swiftLanguageMode(.v6),
.treatAllWarnings(as: .error),
// .treatAllWarnings(as: .error),
.strictMemorySafety()
]
}