2024-03-11 00:39:38 +01:00
|
|
|
// swift-tools-version: 5.10
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "Database",
|
|
|
|
platforms: [.macOS(.v14), .iOS(.v17)],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Database",
|
|
|
|
targets: ["Database"]
|
|
|
|
)
|
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
.package(path: "../FMDB"),
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Database",
|
|
|
|
dependencies: [
|
|
|
|
"FMDB"
|
2024-03-14 04:46:02 +01:00
|
|
|
],
|
|
|
|
swiftSettings: [
|
|
|
|
.enableExperimentalFeature("StrictConcurrency")
|
2024-03-11 00:39:38 +01:00
|
|
|
]
|
|
|
|
),
|
|
|
|
.testTarget(
|
2024-03-11 02:24:14 +01:00
|
|
|
name: "DatabaseTests",
|
|
|
|
dependencies: ["Database"]),
|
|
|
|
]
|
2024-03-11 00:39:38 +01:00
|
|
|
)
|