api-swift / Package.swift
66 words
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// swift-tools-version: 6.0
import PackageDescription

let swift6: [SwiftSetting] = [.swiftLanguageMode(.v6)]

let package = Package(
    name: "ird-api-swift",
    platforms: [.iOS(.v16), .macOS(.v13)],
    products: [
        .library(name: "IrdAPI", targets: ["IrdAPI"]),
    ],
    targets: [
        // The whole ird API: typed models and operations generated from spec/openapi.json,
        // plus the hand-written client, credentials, domain gate and flows.
        .target(name: "IrdAPI", swiftSettings: swift6),
        .testTarget(
            name: "IrdAPITests",
            dependencies: ["IrdAPI"],
            resources: [.copy("Fixtures")],
            swiftSettings: swift6
        ),
    ]
)

static mirror of HEAD · about · clone: git clone https://ird.cod-sursa.ro/api-swift.git