SPB Git

Repository Public

Package.swift 1.5 KB 23 lines swift

1// swift-tools-version: 6.02// Author: Simon-Pierre Boucher — contact@spboucher.ai3// File: Package.swift4// Description: SwiftPM manifest of VQuantCore, the UI-free core of VQuant for macOS (networking, auth, streaming, models, cache, analytics).5import PackageDescription67let package = Package(8    name: "VQuantCore",9    platforms: [.macOS(.v14)],10    products: [.library(name: "VQuantCore", targets: ["VQuantCore"])],11    dependencies: [.package(path: "../VQuantKit")],12    targets: [13        .target(name: "VQuantCore", path: "Core"),14        // The UI-free logic of the app target that depends on the shared kit (layout ↔ workspace mapping, shortcut table,15        // notification routes, audit CSV): the same two files the app compiles, built here only to be unit-tested.16        .target(name: "VQuantAppLogic", dependencies: ["VQuantCore", .product(name: "VQuantKit", package: "VQuantKit")], path: "App/Next", sources: ["WorkspaceMapping.swift", "MacLogic.swift"]),17        .testTarget(name: "VQuantCoreTests", dependencies: ["VQuantCore", "VQuantAppLogic"], path: "Tests/CoreTests", resources: [.copy("Fixtures")]),18        // What the app builds on the shared kit and can be checked without the app target (the migration of 1.x watchlists).19        .testTarget(name: "VQuantSyncTests", dependencies: ["VQuantCore", .product(name: "VQuantKit", package: "VQuantKit"), .product(name: "VQuantKitTesting", package: "VQuantKit")], path: "Tests/SyncTests"),20    ],21    swiftLanguageModes: [.v6]22)23
Files main
Menu

Theme