61 lines
1.4 KiB
Swift
61 lines
1.4 KiB
Swift
// swift-tools-version: 6.3
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Features",
|
|
defaultLocalization: "en",
|
|
platforms: [
|
|
.iOS(.v26),
|
|
.macOS(.v26),
|
|
.visionOS(.v26),
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "Commanding",
|
|
targets: [
|
|
"Commanding",
|
|
]
|
|
),
|
|
.library(
|
|
name: "Features",
|
|
targets: [
|
|
"Commanding",
|
|
"Notifying",
|
|
"Recording",
|
|
]
|
|
),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "Commanding",
|
|
path: "Sources/Commanding"
|
|
),
|
|
.target(
|
|
name: "Notifying",
|
|
path: "Sources/Notifying"
|
|
),
|
|
.target(
|
|
name: "Recording",
|
|
dependencies: ["Commanding"],
|
|
path: "Sources/Recording"
|
|
),
|
|
.testTarget(
|
|
name: "CommandingTests",
|
|
dependencies: ["Commanding"],
|
|
path: "Tests/Commanding"
|
|
),
|
|
.testTarget(
|
|
name: "NotifyingTests",
|
|
dependencies: ["Notifying"],
|
|
path: "Tests/Notifying"
|
|
),
|
|
.testTarget(
|
|
name: "RecordingTests",
|
|
dependencies: ["Recording"],
|
|
path: "Tests/Recording"
|
|
),
|
|
],
|
|
swiftLanguageModes: [.v6]
|
|
)
|