39 lines
898 B
Swift
39 lines
898 B
Swift
// 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: [
|
|
.package(url: "https://github.com/devicekit/DeviceKit.git", from: "5.0.0")
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "CasinoKit",
|
|
dependencies: [
|
|
.product(name: "DeviceKit", package: "DeviceKit")
|
|
],
|
|
resources: [
|
|
.process("Resources")
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "CasinoKitTests",
|
|
dependencies: ["CasinoKit"]
|
|
)
|
|
]
|
|
)
|
|
|