// swift-tools-version: 6.2

import PackageDescription

let package = Package(
    name: "BearWave",
    defaultLocalization: "en",
    platforms: [
        .macOS(.v26)
    ],
    products: [
        .executable(name: "BearWave", targets: ["BearWave"]),
        .executable(name: "BearWaveChecks", targets: ["BearWaveChecks"])
    ],
    targets: [
        .target(
            name: "BearWaveCore",
            resources: [
                .process("Resources")
            ]
        ),
        .executableTarget(
            name: "BearWave",
            dependencies: ["BearWaveCore"],
            path: "Sources/BearWaveApp"
        ),
        .executableTarget(
            name: "BearWaveChecks",
            dependencies: ["BearWaveCore"],
            path: "Tests/BearWaveChecks",
            resources: [
                .process("Fixtures")
            ]
        )
    ]
)
