2022-01-02 00:43:29 +00:00
|
|
|
// swift-tools-version:5.5
|
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "SecretivePackages",
|
|
|
|
platforms: [
|
|
|
|
.macOS(.v11)
|
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "SecretKit",
|
|
|
|
targets: ["SecretKit"]),
|
|
|
|
.library(
|
|
|
|
name: "SecureEnclaveSecretKit",
|
|
|
|
targets: ["SecureEnclaveSecretKit"]),
|
|
|
|
.library(
|
|
|
|
name: "SmartCardSecretKit",
|
|
|
|
targets: ["SmartCardSecretKit"]),
|
|
|
|
.library(
|
|
|
|
name: "SecretAgentKit",
|
|
|
|
targets: ["SecretAgentKit"]),
|
|
|
|
.library(
|
|
|
|
name: "SecretAgentKitHeaders",
|
|
|
|
targets: ["SecretAgentKitHeaders"]),
|
2022-01-03 06:15:18 +00:00
|
|
|
.library(
|
|
|
|
name: "SecretAgentKitProtocol",
|
|
|
|
targets: ["SecretAgentKitProtocol"]),
|
2022-01-02 00:43:29 +00:00
|
|
|
.library(
|
|
|
|
name: "Brief",
|
|
|
|
targets: ["Brief"]),
|
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
2022-01-03 06:15:18 +00:00
|
|
|
name: "SecretKit"
|
2022-01-02 00:43:29 +00:00
|
|
|
),
|
|
|
|
.testTarget(
|
|
|
|
name: "SecretKitTests",
|
|
|
|
dependencies: ["SecretKit", "SecureEnclaveSecretKit", "SmartCardSecretKit"]
|
|
|
|
),
|
|
|
|
.target(
|
|
|
|
name: "SecureEnclaveSecretKit",
|
|
|
|
dependencies: ["SecretKit"]
|
|
|
|
),
|
|
|
|
.target(
|
|
|
|
name: "SmartCardSecretKit",
|
|
|
|
dependencies: ["SecretKit"]
|
|
|
|
),
|
|
|
|
.target(
|
|
|
|
name: "SecretAgentKit",
|
2022-01-03 06:15:18 +00:00
|
|
|
dependencies: ["SecretKit", "SecretAgentKitHeaders", "SecretAgentKitProtocol"]
|
2022-01-02 00:43:29 +00:00
|
|
|
),
|
|
|
|
.systemLibrary(
|
|
|
|
name: "SecretAgentKitHeaders"
|
|
|
|
),
|
2022-01-03 06:15:18 +00:00
|
|
|
.target(
|
|
|
|
name: "SecretAgentKitProtocol"
|
|
|
|
),
|
2022-01-02 00:43:29 +00:00
|
|
|
.testTarget(
|
|
|
|
name: "SecretAgentKitTests",
|
|
|
|
dependencies: ["SecretAgentKit"])
|
|
|
|
,
|
|
|
|
.target(
|
2022-01-03 06:15:18 +00:00
|
|
|
name: "Brief"
|
2022-01-02 00:43:29 +00:00
|
|
|
),
|
|
|
|
.testTarget(
|
|
|
|
name: "BriefTests",
|
|
|
|
dependencies: ["Brief"]
|
|
|
|
),
|
|
|
|
]
|
|
|
|
)
|