Some checks failed
CI / docs-scope (push) Has been cancelled
CI / secrets (push) Has been cancelled
CI / ios (push) Has been cancelled
Docker Release / validate_manual_backfill (push) Has been cancelled
Install Smoke / docs-scope (push) Has been cancelled
Sandbox Common Smoke / sandbox-common-smoke (push) Has been cancelled
Workflow Sanity / no-tabs (push) Has been cancelled
Workflow Sanity / actionlint (push) Has been cancelled
Workflow Sanity / config-docs-drift (push) Has been cancelled
CI / changed-scope (push) Has been cancelled
CI / build-artifacts (push) Has been cancelled
CI / release-check (push) Has been cancelled
CI / checks (pnpm canvas:a2ui:bundle && bunx vitest run --config vitest.unit.config.ts, bun, test) (push) Has been cancelled
CI / checks (pnpm canvas:a2ui:bundle && pnpm test, node, 2, 1, test) (push) Has been cancelled
CI / checks (pnpm canvas:a2ui:bundle && pnpm test, node, 2, 2, test) (push) Has been cancelled
CI / checks (pnpm protocol:check, node, protocol) (push) Has been cancelled
CI / checks (pnpm test:channels, node, channels) (push) Has been cancelled
CI / checks (pnpm test:extensions, node, extensions) (push) Has been cancelled
CI / check (push) Has been cancelled
CI / startup-memory (push) Has been cancelled
CI / check-docs (push) Has been cancelled
CI / compat-node22 (push) Has been cancelled
CI / skills-python (push) Has been cancelled
CI / checks-windows (pnpm test, node, 6, 1, test) (push) Has been cancelled
CI / checks-windows (pnpm test, node, 6, 2, test) (push) Has been cancelled
CI / checks-windows (pnpm test, node, 6, 3, test) (push) Has been cancelled
CI / checks-windows (pnpm test, node, 6, 4, test) (push) Has been cancelled
CI / checks-windows (pnpm test, node, 6, 5, test) (push) Has been cancelled
CI / checks-windows (pnpm test, node, 6, 6, test) (push) Has been cancelled
CI / macos (push) Has been cancelled
CI / android (./gradlew --no-daemon :app:assembleDebug, build) (push) Has been cancelled
CI / android (./gradlew --no-daemon :app:testDebugUnitTest, test) (push) Has been cancelled
Docker Release / approve_manual_backfill (push) Has been cancelled
Docker Release / build-amd64 (push) Has been cancelled
Docker Release / build-arm64 (push) Has been cancelled
Docker Release / create-manifest (push) Has been cancelled
Install Smoke / install-smoke (push) Has been cancelled
56 lines
1.7 KiB
Swift
56 lines
1.7 KiB
Swift
// swift-tools-version: 6.2
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "swabble",
|
|
platforms: [
|
|
.macOS(.v15),
|
|
.iOS(.v17),
|
|
],
|
|
products: [
|
|
.library(name: "Swabble", targets: ["Swabble"]),
|
|
.library(name: "SwabbleKit", targets: ["SwabbleKit"]),
|
|
.executable(name: "swabble", targets: ["SwabbleCLI"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/steipete/Commander.git", exact: "0.2.1"),
|
|
.package(url: "https://github.com/apple/swift-testing", from: "0.99.0"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "Swabble",
|
|
path: "Sources/SwabbleCore",
|
|
swiftSettings: []),
|
|
.target(
|
|
name: "SwabbleKit",
|
|
path: "Sources/SwabbleKit",
|
|
swiftSettings: [
|
|
.enableUpcomingFeature("StrictConcurrency"),
|
|
]),
|
|
.executableTarget(
|
|
name: "SwabbleCLI",
|
|
dependencies: [
|
|
"Swabble",
|
|
"SwabbleKit",
|
|
.product(name: "Commander", package: "Commander"),
|
|
],
|
|
path: "Sources/swabble"),
|
|
.testTarget(
|
|
name: "SwabbleKitTests",
|
|
dependencies: [
|
|
"SwabbleKit",
|
|
.product(name: "Testing", package: "swift-testing"),
|
|
],
|
|
swiftSettings: [
|
|
.enableUpcomingFeature("StrictConcurrency"),
|
|
.enableExperimentalFeature("SwiftTesting"),
|
|
]),
|
|
.testTarget(
|
|
name: "swabbleTests",
|
|
dependencies: [
|
|
"Swabble",
|
|
.product(name: "Testing", package: "swift-testing"),
|
|
]),
|
|
],
|
|
swiftLanguageModes: [.v6])
|