mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-04-15 12:55:49 +00:00
- Update to swift-tools-version 6.0 and enable StrictConcurrency - Make all data models and types Sendable for concurrency safety - Migrate commands from ParsableCommand to AsyncParsableCommand - Remove AsyncUtils.swift and synchronous bridging patterns - Update WindowBounds property names to snake_case for consistency - Ensure all error types conform to Sendable protocol - Add comprehensive Swift 6 migration documentation This migration enables full Swift 6 concurrency checking and data race safety while maintaining backward compatibility with the existing API. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
36 lines
914 B
Swift
36 lines
914 B
Swift
// swift-tools-version: 6.0
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "peekaboo",
|
|
platforms: [
|
|
.macOS(.v15)
|
|
],
|
|
products: [
|
|
.executable(
|
|
name: "peekaboo",
|
|
targets: ["peekaboo"]
|
|
)
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0")
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "peekaboo",
|
|
dependencies: [
|
|
.product(name: "ArgumentParser", package: "swift-argument-parser")
|
|
],
|
|
swiftSettings: [
|
|
.enableExperimentalFeature("StrictConcurrency")
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "peekabooTests",
|
|
dependencies: ["peekaboo"],
|
|
swiftSettings: [
|
|
.enableExperimentalFeature("StrictConcurrency")
|
|
]
|
|
)
|
|
]
|
|
)
|