Repository Public
1// swift-tools-version: 6.02import PackageDescription34// SheetAutomation — the ORIX Automation Engine: workflow model, validation, execution, storage, history, trust,5// plus the `orix-sheet` command-line tool. The engine target has no SwiftUI/AppKit; sheet PDFs are rendered by a6// `SheetPDFRendering` implementation supplied by the host (`AutomationPDF` wraps SheetUI's print renderer).7let package = Package(8 name: "SheetAutomation",9 platforms: [.macOS(.v14)],10 products: [11 .library(name: "SheetAutomation", targets: ["SheetAutomation"]),12 .library(name: "AutomationPDF", targets: ["AutomationPDF"]),13 .executable(name: "orix-sheet", targets: ["orix-sheet"]),14 ],15 dependencies: [16 .package(path: "../SheetCore"), .package(path: "../SheetEngine"), .package(path: "../SheetIO"),17 .package(path: "../SheetData"), .package(path: "../SheetCharts"), .package(path: "../SheetAnalytics"),18 .package(path: "../SheetFormat"), .package(path: "../SheetPython"), .package(path: "../SheetUI"),19 ],20 targets: [21 .target(name: "SheetAutomation", dependencies: [22 "SheetCore", "SheetEngine", "SheetIO", "SheetData", "SheetCharts", "SheetFormat", "SheetPython",23 .product(name: "Audit", package: "SheetAnalytics"),24 ]),25 // AppKit-linked: paginated vector PDFs of sheets through SheetUI's PrintRenderer (main actor).26 .target(name: "AutomationPDF", dependencies: ["SheetAutomation", "SheetCore", "SheetCharts", "SheetUI"]),27 .executableTarget(name: "orix-sheet", dependencies: [28 "SheetAutomation", "AutomationPDF", "SheetCore", "SheetEngine", "SheetIO", "SheetData",29 .product(name: "Audit", package: "SheetAnalytics"),30 ]),31 .testTarget(name: "SheetAutomationTests", dependencies: [32 "SheetAutomation", "AutomationPDF", "orix-sheet", "SheetCore", "SheetEngine", "SheetIO", "SheetData", "SheetCharts", "SheetPython",33 .product(name: "Audit", package: "SheetAnalytics"),34 ]),35 ]36)37