SPB Git

Repository Public

Package.swift 1.3 KB 22 lines swift

1// swift-tools-version: 6.02// SP Drive iOS3// File: Package.swift4// Description: Builds the platform-independent layers (Core, Sync) as a library so their tests run on the Mac in seconds,5//              against the disposable backend. The Xcode project compiles the same sources into the app and its extensions.6//7// Author: Simon-Pierre Boucher8// Contact: contact@spboucher.ai9import PackageDescription1011let package = Package(12    name: "SPDriveKit",13    platforms: [.iOS(.v18), .macOS(.v15)],14    products: [.library(name: "SPDriveKit", targets: ["SPDriveKit"])],15    // SP Drive 2.0 endpoints: the package shared with the macOS app (sibling repository, product SPDriveNext, Foundation only)16    dependencies: [.package(name: "SPDriveCore", path: "../SPDrive")],17    targets: [18        .target(name: "SPDriveKit", dependencies: [.product(name: "SPDriveNext", package: "SPDriveCore")], path: ".", exclude: ["App", "Features", "Components", "Resources", "FileProviderExtension", "ShareExtension", "WidgetExtension", "Tests", "UITests", "Scripts", "docs", "Design", "build", "KitTests", "project.yml"], sources: ["Core", "Sync", "NextKit"]),19        .testTarget(name: "SPDriveKitTests", dependencies: ["SPDriveKit", .product(name: "SPDriveNext", package: "SPDriveCore")], path: "KitTests"),20    ]21)22
Files main
Menu

Theme