SPB Git

Repository Public

Package.swift 1.5 KB 30 lines swift

1// swift-tools-version: 6.02import PackageDescription34// On-device AI assistance for ORIX Sheet. The only model backend is Apple's Foundation Models framework5// (weak-linked automatically: every use is guarded by `#if canImport(FoundationModels)` + `if #available(macOS 26.0, *)`,6// so the library loads and its deterministic parts work on macOS 14). No networking, no third-party code.7let package = Package(8    name: "SheetIntelligence",9    platforms: [.macOS(.v14)],10    products: [.library(name: "SheetIntelligence", targets: ["SheetIntelligence"])],11    dependencies: [12        .package(path: "../SheetCore"),13        .package(path: "../SheetAnalytics"),14        // Test-only: the function libraries the app registers at launch, so that validation and the15        // evaluation suite run against the same registry as the product.16        .package(path: "../FunctionsNumeric"),17        .package(path: "../FunctionsText"),18        .package(path: "../FunctionsLookup"),19    ],20    targets: [21        .target(name: "SheetIntelligence",22                dependencies: ["SheetCore",23                               .product(name: "Audit", package: "SheetAnalytics"),24                               .product(name: "Statistics", package: "SheetAnalytics")]),25        .testTarget(name: "SheetIntelligenceTests",26                    dependencies: ["SheetIntelligence", "SheetCore", "FunctionsNumeric", "FunctionsText", "FunctionsLookup",27                                   .product(name: "Audit", package: "SheetAnalytics")]),28    ]29)30
Files main
Menu

Theme