| 1 | // swift-tools-version: 6.0 |
| 2 | import PackageDescription |
| 3 | let package = Package( |
| 4 | name: "jotley", |
| 5 | platforms: [.macOS("27.0")], |
| 6 | products: [.library(name: "jotley", targets: ["jotley"])], |
| 7 | targets: [ |
| 8 | .target(name: "jotley", path: ".", exclude: [ |
| 9 | "AppIcon.icon", "CLAUDE.md", "PROJECT-STRUCTURE.md", "README.md", "LICENSE", "Comfortaa-OFL.txt", |
| 10 | "Tests", "Sources", "Jotley.xcodeproj", "JotleyUITests-macOS", "Shared/Docs", |
| 11 | "macOS/Assets.xcassets", "macOS/Preview Content", "macOS/JotleyApp.swift", |
| 12 | "macOS/Info.plist", "macOS/Jotley.entitlements", "macOS/Jotley-Development.entitlements", "macOS/Config", |
| 13 | "build", "releases", "backup_20250709_083459", "Jotley", "iOS", "JotleyWidgets", |
| 14 | "JotleyUITests-iOS", "Jotley-iOSTests", "Jotley-iOSUITests", "OneSignalNotificationServiceExtension", "Installer", "docs", |
| 15 | "examples", "fastlane", "scripts", "sparkle-keys", "Gemfile.lock" |
| 16 | ], sources: [ |
| 17 | "Shared/Services/ServiceConstants.swift", |
| 18 | "Shared/Services/SharedPersistence.swift", |
| 19 | "Shared/Services/LibraryBackup.swift", |
| 20 | "Shared/Services/SummarizationService.swift", |
| 21 | "Shared/Services/SummaryTemplateStore.swift", |
| 22 | "Shared/Services/TranscriptionService.swift", |
| 23 | "macOS/ProcessTap/CoreAudioUtils.swift", |
| 24 | "macOS/ProcessTap/ProcessTap.swift", |
| 25 | "macOS/ProcessTap/ProcessTapRecorder.swift", |
| 26 | "macOS/Utilities/AgentSkillInstaller.swift" |
| 27 | ], resources: [.process("Shared/Models/JotleyNotes.xcdatamodeld")], |
| 28 | swiftSettings: [.enableUpcomingFeature("BareSlashRegexLiterals")]), |
| 29 | .testTarget(name: "jotleyTests", dependencies: ["jotley"], path: "Tests/jotleyTests", |
| 30 | sources: ["ContinuationResumerTests.swift", "SummaryTemplateTests.swift", "LibraryBackupTests.swift", "TranscriptEditingTests.swift", "AgentSkillInstallerTests.swift"]) |
| 31 | ], |
| 32 | swiftLanguageModes: [.v5] |
| 33 | ) |