// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "CasinoKit",
    defaultLocalization: "en",
    platforms: [
        .iOS(.v18),
        .macOS(.v15)
    ],
    products: [
        .library(
            name: "CasinoKit",
            targets: ["CasinoKit"]
        )
    ],
    dependencies: [
        // Local development: edit Sherpa directly in ../Sherpa
        .package(path: "../Sherpa")
        // Remote (uncomment when done developing):
        // .package(url: "https://github.com/mbrucedogs/Sherpa.git", branch: "develop")
    ],
    targets: [
        .target(
            name: "CasinoKit",
            dependencies: ["Sherpa"],
            resources: [
                .process("Resources")
            ]
        ),
        .testTarget(
            name: "CasinoKitTests",
            dependencies: ["CasinoKit"]
        )
    ]
)

