// swift-tools-version: 6.0 import PackageDescription let package = Package( name: "ReynaCLIHost", platforms: [.macOS(.v13)], products: [ .executable(name: "ReynaCLIHost", targets: ["ReynaCLIHost"]), .library(name: "ReynaCLIHostCore", targets: ["ReynaCLIHostCore"]), ], targets: [ .target( name: "CSignalSupport", path: "Sources/CSignalSupport", publicHeadersPath: "include" ), .target( name: "ReynaCLIHostCore", dependencies: ["CSignalSupport"], path: "Sources/ReynaCLIHostCore", linkerSettings: [ .linkedFramework("EventKit"), .linkedFramework("Contacts") ] ), .executableTarget( name: "ReynaCLIHost", dependencies: ["ReynaCLIHostCore", "CSignalSupport"], path: "Sources/ReynaCLIHost", linkerSettings: [ .linkedFramework("EventKit"), .linkedFramework("Contacts") ] ), .testTarget( name: "ReynaCLIHostTests", dependencies: ["ReynaCLIHostCore"], path: "Tests/ReynaCLIHostTests" ), ] )