Repository Public
1// swift-tools-version: 6.02import PackageDescription34// The ORIX Intelligence panel: on-device assistance (see ../SheetIntelligence). No networking.5let package = Package(6 name: "FeatureIntelligence",7 defaultLocalization: "en",8 platforms: [.macOS(.v14)],9 products: [10 .library(name: "FeatureIntelligence", targets: ["FeatureIntelligence"]),11 .executable(name: "intelligence-preview", targets: ["intelligence-preview"]),12 ],13 dependencies: [14 .package(path: "../SheetCore"),15 .package(path: "../SheetUI"),16 .package(path: "../SheetIntelligence"),17 .package(path: "../SheetAnalytics"),18 // Only the preview and the tests register the function libraries (the app does it at launch).19 .package(path: "../FunctionsNumeric"),20 .package(path: "../FunctionsText"),21 .package(path: "../FunctionsLookup"),22 ],23 targets: [24 .target(name: "FeatureIntelligence",25 dependencies: ["SheetCore", "SheetUI", "SheetIntelligence", .product(name: "Audit", package: "SheetAnalytics")],26 resources: [.process("Resources")]),27 .executableTarget(name: "intelligence-preview",28 dependencies: ["FeatureIntelligence", "SheetUI", "SheetCore", "SheetIntelligence", "FunctionsNumeric", "FunctionsText", "FunctionsLookup"]),29 .testTarget(name: "FeatureIntelligenceTests",30 dependencies: ["FeatureIntelligence", "SheetUI", "SheetCore", "SheetIntelligence", "FunctionsNumeric", "FunctionsText", "FunctionsLookup",31 .product(name: "Audit", package: "SheetAnalytics")]),32 ]33)34